+ -
当前位置:首页 → 问答吧 → ntp时间同步问题

ntp时间同步问题

时间:2011-12-09

来源:互联网

服务器 A(192.168.0.13):ntp.conf

Assembly code


server 127.127.1.0
fudge 127.127.1.0 stratum 10

restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap



服务器 B(192.168.0.14):ntp.conf

Assembly code

# You do need to talk to an NTP server or two (or three).
server 192.168.0.13 minpoll 4 maxpoll 4

server 127.127.1.0
#fudge 127.127.1.0 stratum 12

restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap



问题:
当网络通畅的时候时间服务器B连接到A, 断开时。 B以本地时间为时间源。
测试发现启动后B能正常连接到A,当断开网络。 B连接到本地LOCAL(0). 重新连接网络,B不能自动恢复连接到A

有哪位知道这是什么问题吗? 谢谢!

作者: zyu20000   发布时间: 2011-12-09

执行:
grep -v ^# /etc/ntp/step-tickers
我看看这里的设置

作者: askandstudy   发布时间: 2011-12-09

相关阅读 更多