Network Time Protocol (ntp), Understanding Synchronisation

Network Time Protocol seems to have beentransmissions or via the GPS (Global Positioning
around for ever. In fact it is indeed one of theSystem) network.
Internet’s oldest protocols having beenThe NTP algorithm uses this time reference to
developed in the 1980’s by Professor Daviddetermine the amount to advance or retreat the
Mills and his team from Delaware University.system or network clock. NTP analyses the
In a laid-back world it perhaps doesn’t mattertimestamp’s values including the frequency of
if computer networks are not synchronised. Theerrors and its stability. A NTP server will maintain
only consequences of timing errors could be thatan estimate the quality of both the reference
an email arrives before it was sent but inclocks and itself.
industries such as airline seat reservation, theNTP is hierarchical. The distance from the timing
stock exchange or satellite communication,reference is divided into strata. Stratum 0 is the
fractions of a second can cause serious errorsatomic clock reference; Stratum 1 is the NTP
such as selling seats more than once, the loss ofserver, while Stratum 2 is a server that receives
millions of dollars or even fraud.timing information from the NTP server. NTP can
Computers are logical machines and as time issupport almost limitless strata although the further
linear to a computer any event that happens onaway from the timing reference you go the less
one machine must happen before news of thataccurate it will be.
event reaches another. When networks are notAs each stratum level can both receive and send
synchronised computers struggle to deal withtiming signals, the advantage of this hierarchical
events that have obviously occurred (such as ansystem is that thousands of machines can be
email being sent) but according to their clock andsynchronised with only the need for one NTP
time stamp it hasn’t yet, just think back toserver.
the millennium bug where it was feared clocksNTP contains its a security measure called
would jump back to 1900!authentication. Authentication verifies that each
For this very reason NTP was developed.  NTPtimestamp has come from the intended time
uses an algorithm (Marzullo’s algorithm) toreference by analysing a set of encryption keys
synchronise the time with the current version ofthat are sent with the time reference.  NTP
NTP can maintain time over the public Internet toanalyses it and confirms whether it has come
within 10 milliseconds and can perform evenfrom the time source by verifying it against a set
better over LANs. NTP time servers work withinof trusted keys in its configuration files.
the TCP/IP suite and rely on UDP (User DatagramHowever, authentication is unavailable from timing
Protocol).sources from across the Internet which is why
NTP servers are normally dedicated NTP devicesMicrosoft and Novell amongst others strongly
that use a single time reference to synchronise arecommend only external time references are
network to. This time reference is most often aused such as a dedicated GPS NTP server or one
UTC (Coordinated Universal Time) source. UTC isthat receives the national time and frequency long
a global time scale distributed by atomic clocks viawave transmission.
the Internet, specialist long wave radio