I have a linux machine on a network where the machine only has access to exactly one NTP server. After the time synchronization the status looks like this:
[root@test ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
<ip address> <ip address> 3 u 8 64 17 1.397 2.510 1.954
*LOCAL(0) .LOCL. 10 l 6 64 17 0.000 0.000 0.001
My problem here is that even though the remote NTP server has way lower stratum and a decent jitter value, ntpd always picks the local clock as the time source, and in time its clock gets late. The situation remains the same, even after one day, so it's not about me not waiting enough for things to come together.
Questions:
- is it possible to get reliable time synchronization with only one NTP server on the network? (my guess is no)
- can I force ntpd somehow to prefer the NTP server over the local clock in this situation?