- 论坛徽章:
- 0
|
IP 192.168.1.10 192.168.1.11
192.168.1.12
192.168.1.13
192.168.1.14
以192.168.1.10 作为局域网内时间服务器,其它3台为客户端
192.168.1.10 /etc/ntp.conf 配置如下:
# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1
# Hosts on local network are less restricted.
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server pool.ntp.org
fudge 127.127.0.1 stratum 10
service ntpd restart
chkconfig ntpd on
客户端: 192.168.1.11
192.168.1.12
192.168.1.13
192.168.1.14
# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1
# Hosts on local network are less restricted.
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 192.168.1.10
service ntpd stop
ntpdate 192.168.1.10
7 Jul 16:11:12 ntpdate[24464]: no server suitable for synchronization found
报错:7 Jul 16:11:12 ntpdate[24464]: no server suitable for synchronization found,时间一直同步不了;
网络正常,求大神指点!
|
|