----------->> NTP Server
Server side ..
Step 1:-
# yum install ntp -y
Step 2:-
# vim /etc/ntpd.conf
server 172.24.0.1
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /var/lib/htp/drift
:wq
Step 3:-
# system-config-date
-->RHEL6 -->> date and time
--> Check d button -->> Synchronize date and
time over the Network
NTP SEVER --> IP of Server( 172.24.0.1)
-->>Advanced Options
-->>Use Local Time Source
--->>OK
Step 4:-
#server ntpd restart ; chkconfig ntpd on
Client Side :--
Step 1:-
## system-config-date
-->RHEL6 -->> date and time
--> Check d button -->> Synchronize date and
time over the Network
NTP SEVER --> IP of Server( 172.24.0.1)
-->>Advanced Options
-->> Speed up initial synchronize
--->>OK
Step 2:-
# Server ntpd restart; chkconfig ntpd on
Step 3:-
If u can't have DNS
# vim /etc/hosts
ip of server Server Host Name
172.24.0.1
server1.example.com server1
:wq
If u have DNS
# vim /etc/sysconfig/ntpd
OPTIONS = "-4 -6 (defaults options) "
:wq
note: -4 for ipv4 and -6 for ipv6
# Server ntpd restart; chkconfig ntpd on
#ntpq -u