Configuring Network Time Protocol (NTP) service

A simple NTP configuration scenario

The following simple scenario would be used when configuring a single host to use NTP. The host seattle.mynet.com is expected to run as a stratum 2 server because it is configured to get the time from two stratum 1 time servers that have radio clocks, ntp1.ossi.com and ntp.olivetti.com.


NOTE: These servers are named for the purposes of this example. In practice, they may not be publicly accessible or you may not be permitted to use them.

The xntpd daemon stores the frequency error of the clock on seattle.mynet.com in /etc/inet/driftfile.

This is a good example to use if you just want to get xntpd up and running quickly. Note that it can take a day or two for a host to synchronize with a time server.

Here is the ntp.conf file for seattle.mynet.com:

   # NTP configuration file for 172.16.246.11 (seattle.mynet.com)
   #
   server 192.240.4.1       # ntp1.ossi.com
   server 129.189.134.6     # ntp.olivetti.com
   

driftfile /etc/inet/driftfile


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999