[ntp:questions] Multiple 'prefer' servers

A C agcarver+ntp at acarver.net
Mon Mar 26 19:48:08 UTC 2012


On 3/21/2012 10:19, Markus Schöpflin wrote:
> Am 21.03.2012 04:20, schrieb A C:
>> Out of curiosity, what does ntpd do when multiple servers are marked
>> 'prefer'.
>
> http://www.eecis.udel.edu/~mills/ntp/html/prefer.html#prefer
>
> "While the rules do not forbid it, it is usually not useful to designate
> more than one source as preferred; however, if more than one source is
> so designated, they are used in the order specified in the configuration
> file. If the first one becomes un selectable, the second one is
> considered and so forth."
>

I just tested this and with 4.2.7p259 it doesn't follow the rule.  In my 
case, I have five Internet servers listed first in the config file, then 
ATOM and then SHM.  If I configure all the Internet servers and the SHM 
server as prefer, it actually selects the SHM first even though it's 
last in the config file.

On the billboard, SHM is second (after ATOM) and the rest of the 
Internet servers are below that.



More information about the questions mailing list