NTP on a private network?

jgbishop

Senior member
May 29, 2003
521
0
0
I have a number of systems, none of which can see the internet (i.e. they are on a private network). I would like to set up one of the systems as a "master" system, so that I can sync the time between all of the machines. In essence, I set the time on the master system, and all the "slave" systems update to match that time.

I assume this can be done with NTP, but I'm a little unsure as to how I would do it. Has anyone here done this kind of thing before? If so, what do I need to do to get things set up for this?

Thanks in advance!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Running ntpd on any Linux machine makes it a NTP server, so install it on all of them and just point the slaves to the master in /etc/ntp.conf.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Nothinman
Running ntpd on any Linux machine makes it a NTP server, so install it on all of them and just point the slaves to the master in /etc/ntp.conf.

Just to clarify, ntpd is the ntp client and server. It just depends on the settings in ntp.conf as to whether or not it allows being queried as a server. Install ntpd and then look over the ntp.conf and it should be well documented right in the conf file.
 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
Yeah should work fine... get a GPS time receiver if you want good quality time for the master NTP server.