[ntp:questions] ntp client does not sync with server after nic down and up

Mike Cook michael.cook at sfr.fr
Tue Jun 6 09:34:42 UTC 2017


> Le 5 juin 2017 à 11:06, 稻草人/nl <1227870243 at qq.com> a écrit :
> 
> hi,guys
> 
> 
> i have a ntp server and client on suse with v 4.2.8p10.  both server and client have two ip in the same subnet, and client use this 2 ip sync with server,after long time test(8hours for ifconfig down and then up 2 nics), i found client cannot sync with server(saw a large value of "when" by ntqp command), and restart ntp will solve this, some time i found it will recover automatically in few hours.
> 
> 
> i found i can ping each other but no packet on port123 between and server when problem occures.
> flash code is 1200 for two assid
> 
> 
> any ideas?
> 

First thing to do is check the existing logs, system messages, ntp log, daemon logs if available ; there should be a clue there. 
As this is a test, the problem should be reproducible. So before repeating it make sure that ntp logging is enabled, that ntp reconfig ad system nic reconfig messages are capture , and maybe run ntpd in debug mode , i.e. not demonized.  Just standard debugging methodology really.



> 
> by the way, is there a document explaining how client connect to server when starting ntp and when and how client will reconnect to server after interface changed?
> 
> 
> BR
> kenn
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> http://lists.ntp.org/listinfo/questions

"The power of accurate observation is commonly called cynicism by those who have not got it. »
George Bernard Shaw



More information about the questions mailing list