I have the following situation: I am trying to setup an NTP server in LAN, which will update the NTP clients in LAN. All machines are CentOS, and ntpd that is running is ntpd 4.2.6p5@1.2349-o Sat Nov 23 18:20:11 UTC 2013 (1)
I configure the following in ntp.conf:
Server:
server X.X.X.X iburst
server Y.Y.Y.Y iburst
server Z.Z.Z.Z iburst
restrict 192.168.1.0 mask 255.255.255.0 notrap nomodify nopeer noquery
broadcast 192.168.1.255 minpoll 3 maxpoll 4
disable auth
Client:
broadcastclient
Now, I stop both the NTP server and NTP clients, and I set in one of the machines wrong date to verify that the NTP message will fix it. Afterwards I restart both the client and the server. I am able to see NTP broadcast packets leave the NTP server, and arrive to the NTP client (using tcpdump). But date and time are still not updated at the client machine.
What am I doing wrong?
Many thanks for your answers.
A.