[ntp:questions] Synchronize clocks without a reference clock
Richard B. gilbert
rgilbert88 at comcast.net
Mon Mar 19 14:29:40 UTC 2007
Spoon wrote:
> Hello everyone,
>
> Consider a cluster of computers on a LAN. These computers have no
> acess to a reference clock (no Internet, no GPS, etc).
>
> One could still want to have all their clocks synchronized, even if
> this means they are all slowly drifting away from the "real" time.
>
> I've read a FAQ which seems to describe this use case.
> http://www.ntp.org/ntpfaq/NTP-s-refclk.htm#AEN4264
>
> All I need to do would be to add these lines:
>
> server 127.127.1.1 # LCL, local clock
> fudge 127.127.1.1 stratum 12 # increase stratum
>
> to my configuration file? Did I understand correctly?
>
> Regards.
That will cause ntpd to serve the local clock. You can, instead, use
something called orphan mode in which several machines agree on a
common, but not necessarily correct, time. I've never done it. See the
documentation for details.
More information about the questions
mailing list