[ntp:questions] NTP makes a time jump

karpekin at gmail.com karpekin at gmail.com
Wed Jul 10 16:48:27 UTC 2013


Hello,
Some news from testing. Setup:
 - server 10.10.52.104, with timeshift 14 sec, config:
tos maxdist 16
tinker step 0
server 10.10.2.101
server 10.9.2.80
server 127.127.1.0 iburst minpoll 4 
fudge 127.127.1.0 stratum 12
driftfile /etc/ntp/ntp.drift

 - two clients, config:
tos maxdist 16
tinker step 0
server 10.10.52.104 iburst
driftfile  /tmp/ntp.drift

On the boot, server has no access to uplink servers. as soon as clients are paired to server, I connect "island" to main network. Server discovers it, connects to one of uplink servers and starts slewing (as expected).
However, the problem comes from my clients. After 2-5 minutes, they reject my "crazy slewing" server with flash=1440 (pkt_dist, peer_dist, peer_unfit). here is ntpq -rv of one of them after it rejected server:
ind assID status  conf reach auth condition  last_event cnt
===========================================================
  1 36890  8023   yes   yes  none    reject  lost reach  2
ntpq> rv &1
assID=36890 status=8023 unreach, conf, 2 events, event_unreach,
srcadr=10.9.57.204, srcport=123, dstadr=10.9.57.203, dstport=123,
leap=01, stratum=5, precision=-10, rootdelay=95.047,
rootdispersion=19325.058, refid=10.10.2.101, reach=000, unreach=4,
hmode=3, pmode=4, hpoll=6, ppoll=6,
flash=1440 pkt_dist, peer_dist, peer_unfit, keyid=0, ttl=0,
offset=158.878, delay=4.959, dispersion=15937.500, jitter=0.000,
reftime=d5880884.5a49753f  Wed, Jul 10 2013 18:21:24.352,
org=d5880aee.350f72f3  Wed, Jul 10 2013 18:31:42.207,
rec=d5880aed.2ab103d7  Wed, Jul 10 2013 18:31:41.166,
xmt=d5880aed.27653681  Wed, Jul 10 2013 18:31:41.153,
filtdelay=     0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00,
filtoffset=    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00,
filtdisp=   16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0

The question is:
How can I force now the clients to follow the server? Any ideas? Thank you all for the help!
Igor.



More information about the questions mailing list