NTP Server - Receiving a Time Source

A NTP Server connects to a computer network withsuch as NIST (National Institute for Standards and
the purpose of synchronising all computers, routers andTechnology) in the US (WWVB signal) and NPL
other devices to the exact same time. NTP servers(National Physical Laboratory) in the UK (MSF signal).
use Network Time Protocol to adjust the drift ofThese signals are broadcast in long wave and can be
different machines to match the reference time.picked up within the broadcast area although the
NTP servers rely on using a reference clock; mostsignals can be blocked by local geographical features.
networks that use a NTP server will use a UTCAnother method to receive a UTC timing reference is
(Coordinated Universal Time) time source. UTC isto use the onboard atomic clocks on GPS (Global
based on the time told by the incredibly accurate andPositioning System) network. While GPS is most
expensive atomic clocks.commonly known as a positioning system the satellite
Atomic clocks work on the principle that a single atomactually relays timing information which is used by GPS
(in most cases the caesium -133) will resonate at anreceivers to calculate the time it has travelled and
exact rate at certain energy levels. The accuracy oftherefore the distance.
atomic clocks is so proficient that UTC was developedWhile the GPS signals are not broadcast in UTC
to allow international Atomic Time (TAI) andformat they are highly accurate and NTP has no
Greenwich Meantime (GMT) to be combined, allowingproblem in converting them.
for the slowing of the Earth's rotation by adding leapThe NTP server checks the time stamp from the
seconds and therefore keeping the Sun at the Earth'sUTC source and uses the information to calculate if
meridian at noon.the network clocks are drifting and adds or subtracts
Failure to account for this slowing in the Earth's spina second to match the reference clock. The NTP
would result in the eventual drift of day and night (albeitserver will do this at set intervals, normally every
in many millennia).fifteen minutes to ensure perfect accuracy.
A NTP server can be set to receive a UTC timeNTP is accurate to within 1/100th of a second (10
signal from across the Internet although these canmilliseconds) over the public Internet and can perform
vary tremendously in accuracy and are reliant oneven better over LANs and WANS with accuracies
reasonably close distances from client and server.of 1/5000th of a second (200 microseconds) not
Relying on an Internet based timing references canunheard of.
also leave a network open to malicious users as theyTo ensure further accuracy the NTP service (or
can not utilise NTP authentication which is a securitydaemon on Linux) runs in the background and does not
measure used to ensure a timing reference is what itbelieve the time it is told until after several exchanges
says it is.and each one has passed a protocol specification (a
Many dedicated NTP servers are designed to receivetest), the server is then considered. It usually takes
a more accurate and authenticated timing reference.about five good samples) until a NTP server is
One method utilises radio transmissions that areaccepted as a timing source.
broadcast by several national physics laboratories