I have a query regarding ntpd
options and the ntpq
command.
I have set up a local NTP Server in Ubuntu 14.04 PC and NTP Client is a custom development platform based on Renesas RZ/G1H.
I have started NTP on my NTP Server and ntpd
is running on then NTP Client.
Currently, my NTP Client is synced with NTP Server. I ran
ntpq
to confirm that:remote refid st t when poll reach delay offset jitter *192.168.4.98 LOCAL(0) 11 u - 64 1 0.282 -0.008 0.029 LOCAL(0) .LOCL. 14 l - 64 0 0.000 0.000 0.000
As you can see,
192.168.4.98
is my NTP Server and current time source(*) is displayed on that.I have changed the date on the NTP Server (Ubuntu PC) using the
date
command.Then I was running
ntpq
continuously on the NTP Client side to monitor the change. At one point, the asterisk was not displayed. Below is the output ofntpq
:remote refid st t when poll reach delay offset jitter 192.168.4.98 LOCAL(0) 11 u - 64 1 0.282 -0.008 0.029 LOCAL(0) .LOCL. 14 l - 64 0 0.000 0.000 0.000
Then after about 5 mins, asterisk got displayed next to
LOCAL(0)
like this:remote refid st t when poll reach delay offset jitter 192.168.4.98 LOCAL(0) 11 u - 64 1 0.282 -0.008 0.029 *LOCAL(0) .LOCL. 14 l - 64 0 0.000 0.000 0.000
Then after about 10 minutes, the asterisk was back on
192.168.4.98
which indicates that Client is started to sync with the NTP Server.
Why did the asterisk show next to LOCAL(0)
in between, before it went back to the NTP Server IP address?