Network time protocol

The_Anshuman
2 min readSep 12, 2023

--

The Network Time Protocol (NTP) is a networking protocol used to synchronize the time .

NTP ensures that all devices on a network maintain consistent and accurate time, which is crucial for various applications and services that rely on timestamp.

NTP applies to both the protocol and the client-server programs that run on computers.

Synchronization process of NTP :

  1. The NTP client initiates a time-request exchange with the NTP server.
  2. The client is then able to calculate the link delay and its local offset and adjust its local clock to match the clock at the server’s computer.
  3. As a rule, six exchanges over a period of about five to 10 minutes are required to initially set the clock.

Network Time Protocol (NTP) uses “stratum” which to a level in the hierarchy of NTP servers.

Stratum levels are used to categorize the accuracy and reliability of time sources in an NTP network. The stratum level indicates how many “hops” away a particular NTP server is from a highly accurate reference time source. Here’s

Now , package name “ntp” is no longer used in modern Linux so we will see installation chrony.

….

Thank you !!

….

….

….

For more stuff like this follow:

https://medium.com/@The_CodeConductor

--

--