Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a LAN that is not connected to the internet, and I am trying to sychronize all the machines, Windows and Linux, to an NTP server. All I've been able to find is setting up an NTP client with an internet NTP server.

How can I setup my own Linux NTP server, or find good documentation on how?

share|improve this question
Try googling for "openntpd" (the server) and "ntpdate" (the client). – Cory J Jun 10 '10 at 19:16

2 Answers 2

up vote 7 down vote accepted

You're creating an island time zone. In effect you're creating a new Stratum 1 server for your network, and that can get tricky.

The fix for it is to use:

tos orphan

In your ntp.conf file. That tells NTP that your timezone is orphaned. But you need a new enough version (4.2.2) to use it. If you can't use, then use:

fudge stratum 1

Also known as 'Undisciplined Local Clock'. Though I strongly recommend creating time pool, multiple servers who provide time mutually. It'll help slow down clock-drift.


And finally, if at all possible, using a GPS time-source is very well supported and will keep your time island close to true.

share|improve this answer
According to 'tos orphan' requires an integer following to specify what time reference stratum server level must be unreachable before the ntpd process(es) switch to Orphan Mode. Placing just 'tos orphan' in the configuration file of a version 4.2.6 ntpd server gives an error like 'syntax error, unexpected T_EOC, expecting T_Integer'. – kbulgrien Jul 28 '14 at 17:47

Depending on your distro, apt-get or yum install ntp should do the trick, than you just have to edit /etc/ntpd.conf to serve time. looks pretty in-depth.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.