December 2018
Beginner
826 pages
22h 54m
English
NTP works in a client-server fashion, in which the client device (centos1, in our case) asks the server device (centos2) for an accurate time reading, which it then applies to the local machine.
When we wanted to make our own server, it was relatively trivial. On the server side, we only needed the line stipulating which clients could sync with centos2:
allow 192.168.33.0/24
On the client side, we needed to first remove the servers it was talking to (using sed to comment out the default pool lines), and then we added our new source-of-time as our configured server by using the following configuration lines:
server 192.168.33.11 iburstallow 192.168.33.11
The server option is the address (or DNS name, if configured) of our source-of-truth. ...
Read now
Unlock full access