-->

NTP client is not syncing with server in broadcast

2019-08-19 04:17发布

问题:

I have configured NTP version 4.2.6 server on fedora 20 machine. server side I am using local system time and given a broadcast subnet and all other options are disabled and on client's side I enabled only broadcast client. I haven't given server's address as according to my understanding server should broadcast NTP packets and client will automatically listen NTP packets and will get sync. but my NTP client is not syncing with server. please help me with all possibilities.

回答1:

you can just run the ntpdate command at the client's start-up script

#ntpdate ntp_server_address

for more details read: http://docs.fedoraproject.org/en-US/Fedora/15/html/Deployment_Guide/sect-Date_and_Time_Configuration-Command_Line_Configuration-Network_Time_Protocol.html