login server ("master")
/etc/ntp.conf
server ntp-server-1.cis.upenn.edu
server ntp-server-2.cis.upenn.edu
server ntp-server-1.upenn.edu
server ntp-server-2.upenn.edu
server ntp-server-3.upenn.edu
restrict 158.130.12.4 mask 255.255.255.255 nomodify notrap noquery
restrict 158.130.8.3 mask 255.255.255.255 nomodify notrap noquery
restrict 128.91.2.13 mask 255.255.255.255 nomodify notrap noquery
restrict 128.91.254.4 mask 255.255.255.255 nomodify notrap noquery
restrict 128.91.254.1 mask 255.255.255.255 nomodify notrap noquery
driftfile /etc/ntp/drift
(The IP addresses in the restrict lines above need to match the actual
IP addresses of the server entries above)
/etc/ntp/step-tickers
ntp-server-1.cis.upenn.edu
ntp-server-2.cis.upenn.edu
ntp-server-1.upenn.edu
ntp-server-2.upenn.edu
ntp-server-3.upenn.edu
Running ntpd
# date [MMDDhhmm[[CC]YY] (set date manually)
# service ntpd start
# chkconfig --level 345 ntpd on (chkconfig --add doesn't work for ntpd)
Note: if you are watching the logs, the first time ntp runs it won't be able
to parse the (empty? non-existent?) driftfile. Ignore the "unparsable
frequency" error message.
nodes
/etc/ntp.conf
server master
restrict 192.168.0.1 mask 255.255.255.255 nomodify notrap noquery
driftfile /etc/ntp/drift
(The IP addresses in the restrict lines above need to match the actual
IP addresses of the server entries above)
/etc/ntp/step-tickers
master
Running ntpd
# service ntpd start
# chkconfig --level 345 ntpd on (chkconfig --add doesn't work for ntpd)
Note: if you are watching the logs, the first time ntp runs it won't be able
to parse the (empty? non-existent?) driftfile. Ignore the "unparsable
frequency" error message.