Network Time: NTP Server Systems
- Date: 2007-04-10 - Word Count: 634
Share This!
NTP or Network Time Protocol is an Internet protocol used to disseminate time across a computer network. It is widely used to synchronize time critical applications to an accurate reference time source.
This article describes the Network Time Protocol and provides an overview of how NTP servers utilise NTP to provide an accurate source of time to network time clients.
A Brief History
The NTP protocol is one of the oldest Internet protocols still in use today. It has been in continuous use for more than 25 years. The protocol was originally designed to synchronise computers and time critical processes across the Internet. Initially developed for the Linux operating system, the protocol has recently been partly ported to the Microsoft Windows operating system. NTP is installed by default in many Linux Unix and Free BSD distributions. Most NTP server systems utilise the Linux operating system due to its specialised kernel timing algorithms.
About the Protocol
NTP is a client-server based protocol. It provides clients with three products: clock offset, network round-trip delay and reference clock dispersion. The clock offset specifies the difference between the local system time and an external reference clock. The round-trip delay specifies the time latencies measured during the transfer of packets around the network. Time dispersion specifies the maximum error associated with timing information received from the external reference clock.
The NTP protocol has a hierarchical structure. A stratum 1 time server is the primary reference server and sits at the top of the heirachy. The primary reference server it is followed by secondary reference servers and clients. A primary reference NTP server is generally synchronised by an external timing reference, such as a radio or GPS clock. At the highest level a primary reference NTP server has a stratum of one. Each lower-level NTP server and client is attributed a stratum one greater than the previous level. As the stratum increases, accuracy decreases due to inconsistencies in network path timing.
NTP utilises the User Data-gram Protocol (UDP), part of the TCP/IP protocol suite. Each 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 fields are used to identify messages and provide time stamp and round-trip delay information.
The current release of NTP is version 4. All versions of the protocol are backwards compatible with previous versions. The only significant modification to the protocol between versions 3 and 4 is a slight header re-interpretation to accommodate IPv6.
NTP Server Modes of Operation
A stratum 1 NTP server has three modes of operation: unicast; anycast and multicast. The client initiates the unicast and anycast modes, the server responds with a NTP time message that the client uses for synchronisation. The multicast mode, is a broadcast mode, NTP time messages are broadcast throughout the sub-domain at specified periodic intervals.
Accurate External Reference Clocks
The standard NTP distribution can operate with a number of external time references, or ?reference clocks'. The Global Positioning System (GPS) is a popular choice since it provides a global precise time reference. A number of national time and frequency radio broadcasts are also available, such as WWVB (US), DCF-77 (Germany) and MSF (UK).
The Simple Network Time Protocol (SNTP)
SNTP is a simplified version of the full-blown Network Time Protocol. SNTP is generally used where the complexities and high accuracy of the NTP protocol is not required. Single board computers and micro-controllers with reduced processing power often use SNTP. The SNTP and NTP protocols are fully interchangeable. Any SNTP client can synchronise with a full-blown NTP server.
------
Dave Evans is a technical author specialising in computer network timing technology and NTP server systems. Dave provides a technical authoring service for many computer timing system manufacturers. Click here to find out more about GPS NTP server systems.
This article describes the Network Time Protocol and provides an overview of how NTP servers utilise NTP to provide an accurate source of time to network time clients.
A Brief History
The NTP protocol is one of the oldest Internet protocols still in use today. It has been in continuous use for more than 25 years. The protocol was originally designed to synchronise computers and time critical processes across the Internet. Initially developed for the Linux operating system, the protocol has recently been partly ported to the Microsoft Windows operating system. NTP is installed by default in many Linux Unix and Free BSD distributions. Most NTP server systems utilise the Linux operating system due to its specialised kernel timing algorithms.
About the Protocol
NTP is a client-server based protocol. It provides clients with three products: clock offset, network round-trip delay and reference clock dispersion. The clock offset specifies the difference between the local system time and an external reference clock. The round-trip delay specifies the time latencies measured during the transfer of packets around the network. Time dispersion specifies the maximum error associated with timing information received from the external reference clock.
The NTP protocol has a hierarchical structure. A stratum 1 time server is the primary reference server and sits at the top of the heirachy. The primary reference server it is followed by secondary reference servers and clients. A primary reference NTP server is generally synchronised by an external timing reference, such as a radio or GPS clock. At the highest level a primary reference NTP server has a stratum of one. Each lower-level NTP server and client is attributed a stratum one greater than the previous level. As the stratum increases, accuracy decreases due to inconsistencies in network path timing.
NTP utilises the User Data-gram Protocol (UDP), part of the TCP/IP protocol suite. Each 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 fields are used to identify messages and provide time stamp and round-trip delay information.
The current release of NTP is version 4. All versions of the protocol are backwards compatible with previous versions. The only significant modification to the protocol between versions 3 and 4 is a slight header re-interpretation to accommodate IPv6.
NTP Server Modes of Operation
A stratum 1 NTP server has three modes of operation: unicast; anycast and multicast. The client initiates the unicast and anycast modes, the server responds with a NTP time message that the client uses for synchronisation. The multicast mode, is a broadcast mode, NTP time messages are broadcast throughout the sub-domain at specified periodic intervals.
Accurate External Reference Clocks
The standard NTP distribution can operate with a number of external time references, or ?reference clocks'. The Global Positioning System (GPS) is a popular choice since it provides a global precise time reference. A number of national time and frequency radio broadcasts are also available, such as WWVB (US), DCF-77 (Germany) and MSF (UK).
The Simple Network Time Protocol (SNTP)
SNTP is a simplified version of the full-blown Network Time Protocol. SNTP is generally used where the complexities and high accuracy of the NTP protocol is not required. Single board computers and micro-controllers with reduced processing power often use SNTP. The SNTP and NTP protocols are fully interchangeable. Any SNTP client can synchronise with a full-blown NTP server.
------
Dave Evans is a technical author specialising in computer network timing technology and NTP server systems. Dave provides a technical authoring service for many computer timing system manufacturers. Click here to find out more about GPS NTP server systems.
Related Tags: ntp server, time server, gps ntp server, atomic clock, time synchronisation, gps clock, gps time, time synchronization, digital clock, gps time server
Your Article Search Directory : Find in Articles
Recent articles in this category:
- Ringtones for Cell Phones 101
A ringtone is a sound file that is used on acellular or mobile phone. This smart idea was deve - Sony Reader PRS-505 Review - Is it Worth Your Money?
The Sony Reader 505 has become an attractively affordable ebook reader since the Sony Reader P - Prototyping knowledge: about an .STL file and how to save it?
Following are guidelines for exporting from typical CAD modelers:Most CAD systems, File Save a - Logitech Digital Video Security System
Since the dawn of time people have always been afraid of others coming into their cave, it's a - The History of GPS Technology
Normal 0 false false false MicrosoftInternetExplorer4 /* Sty - The Future of VOIP Technology
Normal 0 false false false MicrosoftInternetExplorer4 /* Sty - 10 Things You Need to Know About NY VOIP
Normal 0 false false false MicrosoftInternetExplorer4 /* Sty - Video Cameras
Today, video cameras are extremely affordable, very easy to use and offer high quality video a - Making Data Administration a Part of Your Small Business
At some point it will happen to every company no matter how big orsmall they are. System failu - How to Choose a New York VOIP Service Provider
New Yorkers know a good thing when they see it, and VOIP technology iscurrently taking the Emp
Most viewed articles in this category:
- Bluesnarfing
IntroductionBluetooth a short range wireless communication technology developed for use at home, off - Visibility Eto Erp and Six Sigma Profiled in Quality Digest
According to Stephen Carson, executive vice president for Visibility Corp., "Many project-based manu - Four Trends for Distributors: Facing the Forces of Change
The four definitive trends listed in the National Association of Wholesalers-Distributors' publicati - Gateway Laptop Review
You may consider the M255-E if you are thinking about purchasing a Gateway laptop. At first glance, - Ipod Buying Guide &Tips - Ipod, Nano, Shuffle
Buying Ipod is just like buying a piece of enjoy-ment. The first criteria is to buy something you w - Texas Cement Choose Batchmaster for Process Manufacturing Erp
BatchMaster Software, Inc. (www.batchmaster.com), a leading provider of ERP (enterprise resource pla - Industrial CRM Must be Preceded by Change Management
Entitled Smart Practices That Pay: Leveraging Information to Achieve Industrial Selling Results, thi - Canada's Cosmaceutical Wins With Batchmaster ERP
Cosmaceutical Research Lab, already the largest contract manufacturer for cosmetic products in weste - Science is the Real God
Every religion in the world claims that its particular God is almighty. However, there is nothing in - Still wondering what VoIP is about?
So what is VoIP? Internet telephony is a rapidly-growing phenomenon that shows no sign of slo