NTP Server Systems-The Network Time Protocol
NTP Overview
NTP has been in use as an Internet protocol for over 25 years. It is the longest running continuously operating Internet protocol. The protocol was born through the need to provide synchronisation of time critical processes across the Internet. NTP primarily runs on LINUX and UNIX platforms including Free-BSD but has also been, in part, ported to Windows operating systems. Dedicated NTP server systems generally utilise the LINUX operating system.
The NTP Protocol
NTP is designed to provide network time clients with three products: system clock offset, round-trip delay and dispersion relative to a specified reference clock. Clock offset is the time difference between the local clock and reference clock. Round-trip delay measures the amount of time the protocol takes to receive a response from the server. Dispersion is the maximum error of the local clock relative to the specified reference.
NTP Stratum
NTP operates in a hierarchical manner, the primary reference followed by secondary references and clients. At the top of the hierarchy, the primary reference is usually synchronised to an external time source such as a radio or GPS clock. The primary reference is attributed a stratum of one. Each level down in the hierarchy is attributed a stratum one greater than the preceding level. As the stratum increases, the accuracy of the reference degrades slightly due to inconsistencies in network path timing. Secondary references have a stratum of between two and fifteen.
NTP Messages
NTP utilises the UDP (User Data-gram Protocol) protocol. The NTP message consists of a number of fields: Leap Indicator; Version Number; Mode; Stratum; Poll; Precision; Root Delay; Root Dispersion; Reference Identifier; Reference Timestamp; Originate Timestamp; Receive Timestamp; Transmit Timestamp; Key Identifier and Message Digest.
The leap indicator warns of an impending leap second addition or deletion. The version number indicates the NTP version in use. Mode specified the NTP mode of the current message. Stratum is an eight-bit value indicating the hierarchical level of the reference clock. Poll interval specifies the maximum interval between messages. Precision specifies the accuracy of the local clock. Root delay indicates the round-trip delay time to the reference. Root dispersion indicates the nominal error relative to the primary reference. Reference identifier is a 4-character ASCII string identifying the reference source, such as GPS, DCF or MSF. Reference timestamp specifies the time at which the reference clock was last corrected. The Originate Timestamp specifies the time the NTP request message departed the client for the NTP server. Receive timestamp specifies the time the NTP request message was received by the NTP server. Transmit timestamp specifies the time the NTP response message was transmitted by the server to the client. The key identifier field is utilised when authentication is required and provides the message authentication code.
NTP Server Operation
A NTP server can operate in three modes: unicast; anycast and multicast. In unicast and anycast modes, the client transmits a NTP request message to the server. The server responds with a NTP time message that the client uses for time synchronisation. In multicast mode, NTP time messages are broadcast at periodic specified intervals.
NTP Reference Clocks
Primary NTP servers can synchronise with a number of external reference time sources. The GPS (Global Positioning System) is often used to provide an accurate timing reference. There is also a number of national time and frequency radio broadcasts available. The WWVB radio time broadcast is transmitted from Colorado and covers most of the US. The DCF-77 radio time signal is broadcast from Frankfurt, Germany, and covers much of central and Western Europe. The MSF radio time signal is broadcast from Rugby, UK, and covers the British Isles and much of Western Europe. Other local time and frequency radio broadcasts include: TDF, France, and CHU, Canada.
NTP Versions
The current release of NTP is version 4. The only significant modification to the protocol between versions 3 and 4 is a slight header re-interpretation to accommodate IPv6.
SNTP - Simple Network Time Protocol
SNTP is a simplification of the Network Time Protocol, where the complexities of the full-blown protocol are not required. SNTP can be implemented when the high synchronisation performance of NTP is not required. The message format of the SNTP protocol is almost identical to that of the NTP protocol. However, the complex subroutines designed to maintain a highly accurate synchronised time are removed or simplified. Small computers with reduced processing power, such as micro-controllers or monitoring equipment most often use SNTP. The SNTP and NTP protocols are fully interchangeable, a SNTP client can synchronise to a NTP server without any issues.
More Information: NTP RFC's
The original Network Time Protocol was introduced in RFC 958 (Request for Comments: 958). The full NTP version 3 protocol and synchronisation algorithms are described in RFC 1305. The SNTP version 4 protocols are described in RFC 2030.
Related Tags: gps, ntp server, time server, gps ntp server, time synchronisation, gps clock, gps time, sntp server
Dave Evans develops atomic clock time synchronisation systems to ensure accurate time on PC's and networks. Click here to find out more about SNTP server and NTP Server systems.
Your Article Search Directory : Find in ArticlesRecent articles in this category:
- Free Internet Security Software from Google
Selecting the internet security software for your computer can be a daunting task for most home user - Home Key Logger - Track Computer Activity
What goes through your mind when you think about a home key logger? Do you think about a rogue progr - Computers and Electronics Have Changed The Way We Live
You push the on button and your monitor screen springs to life. Next, you use your mouse to bring up - What PacketShaper Can Do For You?
What is PacketShaper?It is an application-intelligent traffic management system which delivers predi - Key Logger Software for Your Computer
One thing that many of us are concerned about is the safety of our children and what happens when th - Keep Your PC Healthy With Computer Tips & Tricks
Everybody just has to have a computer these days. Life without a computer is unimaginable. I am sure - Antivirus - What is a Computer Virus?
Before understanding what a computer virus is, it is necessary to understand what a virus in when it - Gibberish Spam Email - Why Do Spammers Send It?
We have all seen many spam emails that just make no sense. They contain pure gibberish in the subjec - Your Children And The Internet - 5 Tips To Keep Your Children Safe While They Are Online
If your children are on the Internet you may be concerned about their safety. We hear stories regula - How To Compare Residential VOIP Offerings
Many people are turning to VOIP phone for several different reasons, the biggest reason being cost.
Most viewed articles in this category:
- Experience the new Microsoft Zune and Future Technology with Bill Gates at CES Keynote
After the demonstration of Windows Vista by Bill Gates at the CES keynote, Robbie Bach, President of - Internet Connection Sharing in Windows XP
This articles explains in detail how to set up a small network at home so you can share your Interne - Nortel VPN Client Overview
The Nortel VPN Client creates the secure connection for VPN users into a private network. Once you l - Computer Phobias
Years ago around the end of January I would develop Chinophobia (fear of snow). Maybe it was becaus - iPod Stuff: How To Set Your iPod's Alarm Clock
The good thing about the iPod alarm clock feature is that you can wake up with the tune of your favo - CCTV: the story continues
CCTV – Closed Circuit Television – for some time at least has been used by various gover - Why Someone Stole My Mobile Phone
Not so long ago my mobile phone was stolen. I kept asking why I was the one who got targeted, especi - Computer hardware simplified
Computer Hardware is a comprehensive term which refers to all the physical parts of a computer inclu - Office printers: introduction to technology and types
With every bit of information transfer and manipulation going digital these days, almost the entire - A to Z of Mac Parts
The Mac OS: Mac OS runs smoothly. That's what I noticed first off. There's very little waiting, very