Search:

Home | Computers


NTP Servers Simplified

By: David Evans

The Network Time Protocol, or NTP, is an internet protocol developed to distribute accurate timing information to network time clients. NTP is a client-server based protocol widely used throughout the Internet for accurate time synchronisation. This article describes some of the features of NTP and attempts to simplify some of the terminology used. NTP was originally developed 25 years ago by Dr David Mills of the University of Delaware. The protocol is one of the oldest Internet protocols still in continuous use. Originally developed for the LINUX operating systems, it has since been ported to the Microsoft Windows operating systems.

NTP servers obtain accurate time from an external timing reference, such as GPS or Radio time and frequency transmissions. A NTP Server provides networked clients primarily with three peices of information: system clock offset, network delay and dispersion relative to an external reference clock.

The Network Time Protocol is structured in a heirachical configuration; primary servers, secondary servers and time clients. Primary NTP servers are synchronised to an accurate external clock and is attributed a stratum, or hierarchy, level of one. Second level NTP servers obtain time from primary NTP servers and are used to spread the load of requests for time from clients. Secondary servers are attributed a stratum of greater than one. As the stratum increases, so the accuracy of the server decreases.

The Network Time Protocol uses the TCP\IP UDP protocol (User Data-gram Protocol). The protocol defines a number of distinct fields in the messages: 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.

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 NTP server replies with a time stamp that the client can utilise for accurate timing. In multicast mode, NTP time messages are broadcast at periodic specified intervals.

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. All new releases of NTP are backwards compatible with previous versions of the protocol.

SNTP, or Simple Network Time Protocol, is a simplification of the full-blown Network Time Protocol. It can be used where the complexities of the full-blown protocol are not required. The SNTP protocol is mainly utilised on Microsoft Windows operating systems which does not have the complex time keeping algorithms of LINUX.

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 NTP and SNTP protocols are interoperable and can be interchanged without problem.

Article Source: http://www.contentspool.com

D. Evans has provided the computer synchronisation industry with a technical authoring service for a number of years. If you would like more information on Microsoft NTP server systems.

Please Rate this Article

 

Not yet Rated

        Add to Onlywire
Click the XML Icon Above to Receive Computers Articles Via RSS!

Produced in Cooperation with Content Spooling Network.

© 2007 Expert Insiders, LLC. All Rights Reserved.
ContentSpool.com is free for both publishers and authors to use and is supported entirely from advertising revenue.
Use of our service is protected by our Privacy Policy and Terms of Service.

Script from Article Dashboard