hi, We have configured new NTP server on Windows server and now I want to sync my core cisco 3845 router with ntp server.
# ntpq -np remote refid st t when poll reach delay offset jitter ============================================================================== 184.108.40.206 1.14 2 u 30 64 7 108.518 -0.136 0.361 reply from .134: offset 6.715003 delay 0.041152, next query 30s reply from 2.34: offset 6.700224 delay 0.036263, next query 31s adjusting local clock by 6.734120s reply from .156: offset 6.708575 delay 0.035885, next query 30s reply from .134: offset 6.701463 delay 0.044199, next query 33s shows that my time is accurate to within 0.000216 seconds.
Here is what they said: The latest kernels should not lock your system to our dom0's clock, to be on the safe side you can set xen.independent_wallclock = 1 in your
This will make sure the server instance isn't following the clock on the host server.
Consequently, all log files, time-based access lists, or any other configuration based on time or date will either be incorrect or not work at all.
An NTP client synchronizes the time and date with an NTP server.
For example, when a Cisco 2600 or 3600 series router loses power or the network administrator needs to reload it, the time and date are lost.So, the problems I was having must have been with my customized config (where I was trying to make it impossible for external hosts to query my server, which I'm already doing with my firewall so I'm not too worried about).Here is the Ubuntu 10.0.4 in its entirety, with comments removed: driftfile /var/lib/ntp/ntp.drift 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 server ntp.restrict -4 default kod notrap nomodify nopeer noquery restrict -6 default kod notrap nomodify nopeer noquery restrict 127.0.0.1 restrict ::1 I welcome feedback on how this config might be improved.However, for most small to midsize companies, a better alternative is to opt for a free Internet time server.In my organization, we use UNIX scripts that depend on the proper router date.