[ntp:questions] NTP Peer Keeps Swapping on Start-up

SteveW qsw000 at email.mot.com
Mon Oct 4 22:14:11 UTC 2010


On Oct 4, 4:40 pm, David Woolley <da... at ex.djwhome.demon.invalid>
wrote:
> SteveW wrote:
>
> > Also, just to clarify regarding the reach value, the snippet I showed
> > is right at start-up and it quickly goes to 377 for the remote ntp
> > server and remains there.
>
> ntpq assoc, followed by ntpq rv for the association number.
>
> Typically the problem is that the local clock has rather narrow error
> bounds, and if the remote source disagrees, but also has narrow error
> bounds, there is conflict as to which one has the true time.  If you
> have a legitimate need for a local clock, you should make sure all your
> local clocks can be outvoted by real clocks.

How do I make sure the local clocks can be outvoted by real clocks?
Also, here is the result from debug:

[16:53:13] ind assid status  conf reach auth condition  last_event cnt
[16:53:13] ===========================================================
[16:53:13]   1 58883  9424   yes   yes  none candidate   reachable  2
[16:53:13]   2 58884  963a   yes   yes  none  sys.peer    sys_peer

Remote Server:
 [16:53:32] associd=58883 status=9424 conf, reach, sel_candidate, 2
events, reachable,
[16:53:32] srcadr=144.190.31.2, srcport=123, dstadr=144.190.0.2,
dstport=123,
[16:53:32] leap=00, stratum=2, precision=-18, rootdelay=0.519,
rootdisp=2.289,
[16:53:32] refid=40.14.0.254,
[16:53:32] reftime=d054ca24.51858b5a  Mon, Oct  4 2010 21:48:20.318,
[16:53:32] rec=d054ca2f.09647cd3  Mon, Oct  4 2010 21:48:31.036,
reach=377,
[16:53:32] unreach=0, hmode=3, pmode=4, hpoll=4, ppoll=4, headway=3,
flash=00 ok,
[16:53:32] keyid=0, offset=0.349, delay=0.353, dispersion=1.318,
jitter=0.020,
[16:53:32] xleave=0.086,
[16:53:32] filtdelay=     0.41    0.40    0.37    0.37    0.38
0.35    0.36    0.37,
[16:53:32] filtoffset=    0.38    0.36    0.36    0.35    0.34
0.35    0.34    0.31,
[16:53:32] filtdisp=      0.01    0.28    0.55    0.82    1.09
1.36    1.63    1.90

Local Clock
 [16:53:38] associd=58884 status=963a conf, reach, sel_sys.peer, 3
events, sys_peer,
[16:53:38] srcadr=LOCAL(1), srcport=123, dstadr=127.0.0.1,
dstport=123, leap=00,
[16:53:38] stratum=14, precision=-18, rootdelay=0.000,
rootdisp=10.000, refid=LCL,
[16:53:38] reftime=00000000.00000000  Thu, Feb  7 2036  6:28:16.000,
[16:53:38] rec=d054ca42.09448a3a  Mon, Oct  4 2010 21:48:50.036,
reach=377,
[16:53:38] unreach=0, hmode=3, pmode=4, hpoll=4, ppoll=4, headway=0,
flash=00 ok,
[16:53:38] keyid=0, offset=0.000, delay=0.000, dispersion=0.027,
jitter=0.004,
[16:53:38] filtdelay=     0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00,
[16:53:38] filtoffset=    0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00,
[16:53:38] filtdisp=      0.00    0.02    0.03    0.05    0.21
0.23    0.24    0.26

Thanks,
Steve




More information about the questions mailing list