10.2-BETA2 patch etc/ntp.conf to enable ntpd pool client functionality
Matt Smith
fbsd at xtaz.co.uk
Fri Jul 24 09:35:28 UTC 2015
On Jul 24 12:27, John Marshall wrote:
>I have submitted a patch to the distributed ntp.conf to enable ntpd pool
>client functionality. This was not possible in the ancient version of
>ntpd shipped with FreeBSD releases over the past several years.
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201803
>
Thanks for this. But I would like to make some additional suggestions.
There is no need to use multiple pools. You only need one. Pool works by
using the minclock and maxclock values to work out how many peers it
needs to add and keep track of. minclock is the minimum amount of * and
+ peers it should keep, and maxclock is the maximum amount of total
peers including the actual pool itself. Also the local clock has been
deprecated in favour of orphan mode. So I would suggest something like
this instead:
pool 0.freebsd.pool.ntp.org iburst
tos minclock 3 maxclock 6 orphan 6
This will fire up a pool association and then add 5 peers from that pool
and keep a minimum of 3 in * or + modes. If any become unreliable it
will add more according to the min/maxclock values.
For more info:
http://support.ntp.org/bin/view/Support/OrphanMode
http://lists.ntp.org/pipermail/questions/2010-April/026304.html
--
Matt
More information about the freebsd-stable
mailing list