catman2
August 20th, 2019, 11:04 PM
I want to setup NTP in an isolated local network with many PCs
The network looks like this. There is no gateway.
192.68.0.1 MainServer
192.68.0.2 - 192.68.0.255 Other servers and client PCs
I am confused with all the ntp options in the config file. What options are really needed to get all offline PCs on the network tightly together?
Can someone please comment of the setups of /etc/ntp.conf files for server and clients?
Is this a good setup? If not what should be added and why?
Main server (IP 192.168.0.1) /etc/ntp.conf:
driftfile /var/lib/ntp/ntp.drift
server 127.127.1.0 iburst
fudge 127.127.1.0 stratum 2
All others /etc/ntp.conf:
driftfile /var/lib/ntp/ntp.drift
server 192.168.0.1 iburst
fudge 127.127.1.0 stratum 3
The network looks like this. There is no gateway.
192.68.0.1 MainServer
192.68.0.2 - 192.68.0.255 Other servers and client PCs
I am confused with all the ntp options in the config file. What options are really needed to get all offline PCs on the network tightly together?
Can someone please comment of the setups of /etc/ntp.conf files for server and clients?
Is this a good setup? If not what should be added and why?
Main server (IP 192.168.0.1) /etc/ntp.conf:
driftfile /var/lib/ntp/ntp.drift
server 127.127.1.0 iburst
fudge 127.127.1.0 stratum 2
All others /etc/ntp.conf:
driftfile /var/lib/ntp/ntp.drift
server 192.168.0.1 iburst
fudge 127.127.1.0 stratum 3