Listing 1: The sample NTP configuration file
##
# List servers - stratum 1 servers
##
server tick.usno.navy.mil
server tock.usno.navy.mil
server ntp1.sura.net
##
# Identify peers
##
peer 10.0.0.2 key 34 # management.foo.com
peer 10.1.152.2 key 3 # writers.foo.com
peer 192.168.51.2 key 76 # timerserver.anotherdomain.com
authenticate yes # enable authentication
keys /etc/ntp.keys # path for key file
trustedkey 34 76 # define trusted keys
##
# Specify Drift file
##
driftfile /etc/ntp.drift
# End of File
|