[ntp:questions] Peer swapping at startup

pateretou Pateretou pateretou at hotmail.com
Fri Oct 15 17:13:03 UTC 2010




Hello,

 

I'm
trying to setup on my network 2 meimberg GPS clocks: 1 in europe and 1 in the
US for my different datacenters.

 

I have a
strange behavior when I launch NTP client on my servers

172.17.11.20
is my LONDON GPS

172.17.10.20
is my NY GPS

My test
server is in London.

 

I run a
ntpdate on my London GPS

When I
launch the NTP client on my test box in london it's sync first with my London
GPS during 1 or 2s and switch to my NY GPS

 

 

     remote           refid      st t when poll reach   delay  
offset  jitter

==============================================================================

+172.17.11.20     .PPS.            1 u   16  
16  377    0.225   
0.125   0.046

*172.17.10.20    .PPS.            1 u   14  
16  377   67.210   
0.141   0.049

 

 

I can't
understand why my client doesn't stay connected with my London GPS Clock?

The
delay/offset and jitter are much better on London

 

Here my
client conf file:

 

driftfile
/var/lib/ntp/ntp.drift

statsdir
/var/log/ntpstats/

statistics
loopstats peerstats clockstats

filegen
loopstats file loopstats type day enable

filegen
peerstats file peerstats type day enable

filegen
clockstats file clockstats type day enable

logfile
/var/log/ntpd.log

server
172.17.11.20 minpoll 4 maxpoll 4 prefer

server
172.17.10.20 minpoll 4 maxpoll 4 prefer

#backup

server
172.17.12.20 minpoll 4 maxpoll 4

restrict
-4 default ignore

restrict
-6 default ignore

restrict
127.0.0.1

restrict
::1 

restrict
172.17.10.20 nomodify notrap nopeer

restrict
172.17.11.20 nomodify notrap nopeer

restrict
172.17.12.20 nomodify notrap nopeer

 

 

Thanks
you for your help

 

Pat

 		 	   		  


More information about the questions mailing list