[j-nsp] deleting ntp server from config, perhaps a bug?

Pierre Emeriaud petrus.lt at gmail.com
Thu Sep 27 14:54:39 EDT 2018


Le jeu. 27 sept. 2018 à 19:23, Netravnen <netravnen at gmail.com> a écrit :
>
> On Thu, 27 Sep 2018 at 13:43, Drew Weaver <drew.weaver at thenap.com> wrote:
> > I added 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org to system ntp on an MX80 running JunOS 15.
>
> Maybe look into a way to dynamically update the ntp servers list?
> (using automation?)

ntpd from ntp.org has some additional logic to handle the pool.
Instead of configuring 'server 0.pool.ntp.org', use 'pool
0.pool.ntp.org':

ntpq> peers
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 0.debian.pool.n .POOL.          16 p    -   64    0    0.000    0.000   0.000
 1.debian.pool.n .POOL.          16 p    -   64    0    0.000    0.000   0.000
*ntp1.rrze.uni-e .DCFp.           1 u  428 1024  377   12.567   -0.544   0.285
+srcf-ntp.stanfo .GPSs.           1 u  876 1024  377  138.149   -0.128   0.397
-ntp-1.arkena.ne 145.238.203.14   2 u  764 1024  317   15.210   -7.569   0.990
+regar42.fr      62.210.244.146   4 u  375 1024  377    5.038   -1.523   0.310

Only 0.debian.pool.ntp.org and 1.debian.pool.ntp.org are defined in
ntp.conf. (this is not mentioned in the manpage - yay).

Is Junos using ntpd from ntp.org or openntpd?


More information about the juniper-nsp mailing list