红联Linux门户
Linux帮助

NTP问题求教

发布时间:2007-12-05 12:53:38来源:红联作者:tanzhiwu
两个Linux机器,一个做NTP server,一个做NTP Client,在NTP Client重启后,可以看到时间已同步成Server的时间,然后修改Server的时间为退后半个小时,Ntp Client始终不能同步成Server的时间,从抓的报文来看,NTP Server已经把调整后的时间发送给了Client,但是Client不知为什么不接收,如果此时重启Client,又可以同步,哪位高人能解释一下啊,多谢了。
文章评论

共有 1 条评论

  1. tanzhiwu 于 2007-12-05 16:27:40发表:

    自己顶起来。我在RFC2030中看到有下面一句:
    This allows a simple calculation to determine the propagation delay between the server and client and to align the local clock generally within a few tens of milliseconds relative to the server. In addition, this provides a simple method to verify that the server reply is in fact a legitimate response to the specific client request and avoid replays. In multicast mode, the client has no information to calculate the propagation delay or determine the validity of the server, unless the NTP authentication scheme is used.

    是不是说,Client只处理和自己的时钟相差几十个毫秒内的报文,如果,服务器返回的时间和Client中保存的时间相差太远,Client会认为是无效报文,是不是这样啊?请高手指教。