cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2038
Views
0
Helpful
3
Replies

Unable to sync the with NTP Server

madhur_malik
Level 1
Level 1

I have configured NTP (Network time protocol) on one of our windows 2000 server and we have tested NTP server by configuring the clients machines and

clients machine are able to synch the time from this server but we are not be able to configure the router's clock from this NTP server.

We have tried to put the following commands:

ntp server 192.168.14.115 (Global Mode)

My Server & Router are both in same lan.

Also my router does not have clock update-calender

But when I am checking from the following command:

Router#show ntp associations

address ref clock st when poll reach delay

offset disp

~192.168.10.161 172.31.32.1 5 29 1024 377

4.2 -8.59 1.6

*~127.17.7.1 192.168.1.111 3 32 128 377 7.9

11.18 3.6

* master (synced), # master (unsynced), + selected, - candidate, ~

configured

Where 192.169.14.115 is NTP server in our network

And router not be able to synch router clock with our NTP server.

Can you help us in building the right configurations through which we can

restrict our network on time base.

I am getting the following debug in my router.

Jun 25 10:45:15.575 IST: Peer/Server Clock unsynchronized

Jun 25 10:46:19.462 IST: NTP: xmit packet to 192.168.14.115:

Jun 25 10:46:19.462 IST: leap 3, mode 1, version 3, stratum 0, ppoll 64

Jun 25 10:46:19.462 IST: rtdel 0000 (0.000), rtdsp 10001 (1000.015),

refid 00000000 (0.0.0.0)

Jun 25 10:46:19.462 IST: ref 00000000.00000000 (05:30:00.000 IST Mon Jan

1 1900)

Jun 25 10:46:19.462 IST: org C48A2E9D.E15FDCDF (11:13:57.880 IST Mon Jun

28 2004)

Jun 25 10:46:19.462 IST: rec C4863363.926AF2BE (10:45:15.571 IST Fri Jun

25 2004)

Jun 25 10:46:19.462 IST: xmt C48633A3.768234EE (10:46:19.462 IST Fri Jun

25 2004)

Jun 25 10:46:19.466 IST: NTP: rcv packet from 192.168.14.115 to

192.168.14.8 onFastEthernet0/1:

Jun 25 10:46:19.466 IST: leap 3, mode 2, version 3, stratum 0, ppoll 64

Jun 25 10:46:19.466 IST: rtdel 0000 (0.000), rtdsp 08BF (34.164), refid

00000000 (0.0.0.0)

Jun 25 10:46:19.466 IST: ref 00000000.00000000 (05:30:00.000 IST Mon Jan

1 1900)

Jun 25 10:46:19.466 IST: org C48633A3.768234EE (10:46:19.462 IST Fri Jun

25 2004)

Jun 25 10:46:19.466 IST: rec C48A2EDD.E1C9D5A1 (11:15:01.881 IST Mon Jun

28 2004)

Jun 25 10:46:19.470 IST: xmt C48A2EDD.E1CC532A (11:15:01.882 IST Mon Jun

28 2004)

Jun 25 10:46:19.470 IST: inp C48633A3.77C3A784 (10:46:19.467 IST Fri Jun

25 2004)

Jun 25 10:46:19.470 IST: NTP: packet from 192.168.14.115 failed validity

tests 20

Jun 25 10:46:19.470 IST: Peer/Server Clock unsynchronized

3 Replies 3

drussell
Level 1
Level 1

You might try setting your router's clock to the right time. It looks like from your debug that the router's clock is off by several days. NTP won't reset the local clock and sync if it is not reasonably close to begin with (I don't recall if it is 3 hours or 30 minutes).

nilsreber
Level 1
Level 1

Hi,

seems like the clock is sync'd to a stratum 3 clock (127.127.7.1 is usualy the routers own clock, but stratum 3?). And there is also 192.168.10.161 configured as ntp source with stratum 5.

The router will sync to the source with the best stratum. What's the stratum of your windows box?

Seems like there is ntp security configured on your router ("failed validity tests").

Perhaps you can provide all NTP related lines of your config.

Regards, Nils

I agree with Nils that it would be very helpful to see everything in your config that relates to NTP (and in fact helpful to see your entire config).

I wonder if perhaps the router also contains the command ntp master, which would help explain the behavior that you are reporting.

HTH

Rick

HTH

Rick

Review Cisco Networking for a $25 gift card