NTP Server
An NTP server is set up on kabru to provide current time to computers in RTCL network.
Configuration on kabru
Kabru uses the NTP server of the EECS department, a server of the University, and four random servers from the US NTP server pool to establish its clock.
restrict default noquery nomodify
restrict 127.0.0.1
restrict 10.0.0.0 mask 255.0.0.0
driftfile /var/lib/ntp/drift/ntp.drift
logfile /var/log/ntp
server ntp.eecs.umich.edu
server ntp.itd.umich.edu
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
Reference configuration for computers in RTCL network
The IP address of NTP server is provided with DHCP replies. Some OS can be configured to modify NTP configuration file after receiving DHCP replies. For example, you can set the variable
DHCLIENT_MODIFY_NTP_CONF to
yes in
/etc/sysconfig/network/dhcp in SUSE Linux. Otherwise, the following configuration should work, too.
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict ntp.rtcl
driftfile /var/lib/ntp/drift/ntp.drift
logfile /var/log/ntp
server ntp.rtcl
References
- Access control options in ntp.conf
- pool.ntp.org: Public NTP time server for everyone
-- Main.chtsai - 01 Mar 2007