NTP客户端未在广播模式下与服务器同步 [英] NTP client is not syncing with server in broadcast mode
问题描述
我已在fedora 20计算机上配置了NTP版本4.2.6服务器.服务器端我正在使用本地系统时间并指定了广播子网,所有其他选项均被禁用,并且在客户端,我仅启用了广播客户端.我没有提供服务器的地址,因为据我了解,服务器应该广播NTP数据包,而客户端将自动侦听NTP数据包并获得同步.但我的NTP客户端未与服务器同步.请尽一切可能帮助我.
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.
推荐答案
您只需在客户端的启动脚本上运行 ntpdate 命令
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
这篇关于NTP客户端未在广播模式下与服务器同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!