Follow the steps to configure the NTP service to sync up with the central NTP Server
# yum -y install ntp
# vi /etc/ntp.conf
# line 14: add the network range you allow to receive requests
restrict 192.168.2.0 mask 255.255.255.0 nomodify notrap
# change servers for synchronization
#server 0.centos.pool.ntp.org
#server 1.centos.pool.ntp.org
#server 2.centos.pool.ntp.org
server time.gist.gov
# /etc/rc.d/init.d/ntpd start
Starting ntpd:[ OK ]
# chkconfig ntpd on
# ntpq -p
check the output to see if the client is in sync with the NTP Server....else check for the udp port 123 is open on the Firewall from the client to the NTP server
No comments:
Post a Comment