Setting NTP for isolated LAN in OSX

  1. Configure your server fully and then enable the NTP checkbox in Server Admin. Save and quit.
  2. Edit the /etc/ntp.conf file server and replace the contents (most likely “server time.apple.com”) with the below. Save the file, then restart server.
server 127.127.1.1 prefer
fudge 127.127.1.1 stratum 0 refid NIST

Confirm that under Date and Time System Preferences that there is now an entry for 127.127.1.1 for setting date and time automatically and the checkbox is enabled.

Important:-

You will notice that NTP is still enabled on Server Admin, and under Server Admin’s Date and Time Tab that “time.apple.com” is still listed. Do not change these values, or toggle the NTP check box off then on, as this will overwrite the ntp.conf file erasing the work you have performed above.

To confirm the ntp service is active:

mainserver:~ instruct$ ps -ax | grep ntpd
19993 ?? 0:00.86 /usr/sbin/ntpd -n -g -p /var/run/ntpd.pid -f /var/db/ntp.drift