- 论坛徽章:
- 0
|
局域网的三台机器,其中一台59.64.137.99想作为服务器,另外两台作为客户端。用的redhat9,
服务器只需要用自己的时间就好了,不需要再向上层主机同步
服务器端的ntp.conf如下
restrict default ignore
restrict 127.0.0.1
restrict 59.64.137.99 (这句不知道该不该要?)
restrict 59.64.137.99 mask 255.255.252.0 nomodify
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /ect/ntp/drift
broadcastdelay 1.008
客户端如下:
restrict default ignore
restrict 127.0.0.1
server 59.64.137.99 prefer
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /ect/ntp/drift
broadcastdelay 1.008
机器都用etc/rc.d/init.d/ntpd start启动以后,用date查看时间,没有同步啊,
然后我停了客户端的ntpd,用ntpdate 59.64.137.99更新,显示的是no server suitable for synchronization found
第一次接触ntp,大家帮帮忙,我的设定不对么?
[ 本帖最后由 nikko724 于 2006-5-11 16:49 编辑 ] |
|