Article Directory :: Computers & Technology Articles

The Network Time Protocol and NTP Servers

By David Evans

Subscribe to David Evans's RSS feed using any feed reader!

Republish: EasyPublish
Published: 10Apr2007
Word count: 622
Viewed: 346 time(s)
Bookmark this article using any bookmark manager!
Get Free Content For Your Site

The Network Time Protocol (NTP) is a standard Internet protocol for distributing time around a computer network. The protocol is widely used to synchronise computers and time critical applications to an accurate time reference.

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: system clock offset, round-trip delay and time dispersion of a specified external reference clock (such as GPS). The clock offset specifies the difference between the local system time and an external reference clock. Round-trip delay measures the network latencies experienced during the transfer of packets of information. Time dispersion specifies the maximum error associated with timing information received from the external reference clock.

The NTP protocol has a hierarchical structure. A primary reference NTP server sits at the highest level. 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.

The author, D. Evans is a technical writer with a background in computer network timing and telecommunications. D. Evans provides a technical authoring service for NTP server and timing reference manufacturers. Click here to find out more about NTP servers.

Bookmark this article using any bookmark manager! Subscribe to David Evans's RSS feed using any feed reader!

EasyPublish™ this article - publishers click here

More articles by David Evans

Free Report!
Ten Essential Secrets Of Article Marketing ... Grab Your Free
Copy
Now:




We respect your privacy.


Need Content?
Regular Top Quality Content for your Blog, Ezine or Website ...
Delivered Direct,
For Free!

Click For Details



Arts & Entertainment
Automotive
Business - General
Computers & Technology
Finance & Investment
Food & Drink
Health & Fitness
Home & Family
Internet Marketing/Online Business
Legal
Pets & Animals
Politics & Government
Reference & Education
Religion & Faith
Self-Improvement/Motivation
Social
Sports & Recreation
Travel & Leisure
Writing & Speaking

More computing articles:

  • What The Superior SDSL Companies Might Give To Your Company (Dirik Hameed)
    SDSL services are extremely helpful with a variety of broadband queries

  • Why You Should Be Using Tool Management Software (A. Noton)
    Tool management software offers several benefits to those who are trying to construct or even repair a business. Tools happen to play a vital role in both the production and manufacturing aspects of a business or company. They essentially serve the same purpose in both huge enterprises as well as small businesses.

  • 4 Approaches To Solve IPhone Freezing Troubles (Patricia Strasser)
    A few of the ways to fix iPhone freezing issues are the following: restarting your iPhone, resetting your iPhone, restoring factory configurations, and carrying your iPhone to an Apple service center.

  • 4 Items to Find Out About Web Hosting (Patricia Strasser)
    Items you need to be familiar with internet hosting include the following: significance, performance, availability, and also space capacity.

  • Samsung Galaxy S III Concept Is Here (San Lee)
    Samsung has amazed all the market with its cell phone deals in the past few years. They have started with the great Samsung Omnia and now they have phones that can rival some of the notebooks that you can find on the market.

  • Apple Stock Price Hits New Milestones Daily (San Lee)
    Apple is one of the most well know companies on the market of mobile phones. They have a different market strategy and they try to win the hearts of customers by launching a new phone each year.

  • Noise Reduction Devices (Tomer Harel)
    noise reduction devices

  • How To Use Multiple Static IPs On A Cloud Server (Dirik Hameed)
    Cloud Servers are the new type of must-have servers that demand less management and maintenance and are the choice of server for many companies and businesses.

  • Share Your Exciting Sports Moments With A Helmet Camera (Eric Maxfield)
    Find out why the Helmet camera has become very popular in outdoor sports today and all the information you need to choose the best helmet camera for you.

We Automatically Distribute Articles
To Thousands Of Publishers And Web Sites:

Submit Article
All content is viewed and used by you at your own risk and we do not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributing authors and not necessarily those of this web site, or its owner, Takanomi Limited.
 
Copyright © 2012 Takanomi Ltd. Company no. 5629683. All rights reserved. | Privacy | Legal | Contact Information