NTP (01)

NTP on Central

Monday 21 April, 2008 - 20:27

I have been using Red Hat Linux Networking and System Administration (3rd Ed.) to configure NTP on the Central VM image. Refer to pp.394-401.

rpmquery ntp
ntp-4.2.0.a.20040617-4

Editted /etc/ntp.conf to add:

restrict 192.168.100.0 mask 255.255.255.0 nomodify notrap

The ntpd daemon defaults to the local system clock if it cannot find a ntp server. This is what I want to do anyway. The above line should allow penrith1 and penrith2 to access the ntp clock via the Public Penrith LAN segment.

service ntpd restart
chkconfig --level 123456 ntpd off
chkconfig --level 345 ntpd on
vmware-toolbox &

In the Options tab, check the time synchronization box.

date (to check the image clock against the PC clock.)