ArticlesBase.com - Free Articles Directory
Free Online Articles Directory
05.09.2008 Sign In Register Hello Guest
Email:
Password:
Remember Me 
forgot your password?


How a Ntp Server Works

Author: Richard n Williams Author Ranking Gold | Posted: 29-04-2008 | Comments: 0 | Views: 36 | Rating:  (52) Article Popularity - Blue (?) Got a Question? Ask.
Sign Up Now!

Network Time Protocol (NTP) is one of the Internet’s oldest protocols still in use. Invented by Dr David Mills from the University of Delaware it has been utilized since 1985. NTP is designed to synchronize the clocks on computers and networks across the Internet or Local Area Networks (LANs).

NTP (currently version 4) is actually three things in one; a software program that runs in the background of Windows or UNIX; a protocol that exchanges time values between servers and clients; and a suite of algorithms that process the time values to advance or retreat the system clock.

NTP uses an algorithm (Marzullo’s algorithm) to synchronise time on a network using a time reference. Although networks can be synchronized with internal clocks or Internet based timing references, it is highly recommended by Microsoft and others that an external timing reference should be used to guarantee authentication. An absolute timing reference should use UTC (Coordinated Universal Time or Temps Universel Coordonné) which supports such features as leap seconds - added to compensate for the slowing of the Earth’s rotation.

NTP works within the TCP/IP suite and relies on UDP, a less complex form of NTP exists called Simple Network Time Protocol (SNTP) that does not require the storing of information about previous communications, needed by NTP. It is used in some devices and applications where high accuracy timing is not as important, it is also included in most Windows operating systems but more recent versions have the full NTP already installed, which is also free to download via the Internet.

Synchronisation with NTP is relatively simple, it synchronises time with reference to a reliable clock source such as an atomic clock, although these are extremely expensive and are generally only to be found in large-scale physics laboratories, however NTP can use either the Global Positioning system (GPS ) network or specialist radio transmission to receive UTC time from these clocks.

NTP uses timestamps to represent the current time of the day each timestamp is ephemeral, in other words it is always greater than the previous timestamp as time never runs backwards. NTP analyses the timestamp values including the frequency of errors and the stability. A NTP server will maintain an estimate of the quality of its reference clocks and of itself.

The distance from the reference clock is known as the stratum levels and they exist to prevent cycles in the NTP. Stratum 0 are devices such as reference clocks connected directly to a computer. Stratum 1 are computers attached to stratum 0 devices, while Stratum 2 are computers that send NTP requests to Stratum 1 servers. NTP can support up to 256 strata.

NTP timestamps are in two formats but they relay the seconds from a set point in time (known as the prime epoch, set at 00:00 1 January 1900) The NTP algorithm then uses this timestamp to determine the amount to advance or retreat the system or network clock.

The NTP program (known as a daemon on UNIX and a service on Windows) runs in the system background. NTP refuses to believe the time it is told until several packet exchanges have taken place, each passing a set of tests. Only if the replies from a server satisfy the test, known as protocol specifications, the server is considered. It usually takes about five minutes (five good samples) until a NTP server is accepted as a synchronization source.

A typical GPS time server can provide timing information to within a few nanoseconds of UTC as long as there is an antenna situated with a good view of the sky.

There are also a number of national time and frequency radio transmissions that can be used to synchronise a NTP server. In Britain the signal (called MSF) is broadcast by the National Physics Laboratory in Cumbria which serves as the United Kingdom's national time reference, there are also similar systems in Colorado, US (WWVB) and in Frankfurt, Germany (DCF-77). These signals provides UTC time to an accuracy of 100 microseconds, however, the radio signal has a finite range and is vulnerable to interference.

Rate this Article: Current: 5 / 5 stars - 1 vote(s).

Article Source: http://www.articlesbase.com/networks-articles/how-a-ntp-server-works-399506.html

Print this Article Print article   Email to a Friend Send to friend   Publish this Article on your Website Publish this Article   Send Author Feedback Author feedback  
About the Author:

Copyright 2008 © Richard N Williams

Richard N Williams is a technical author and a specialist in the telecommunications and network time synchronisation industry helping to develop dedicated time server products; ethernet clocks, GPS time servers, NTP servers, digital wall clocks, atomic clock servers and SNTP time servers. Please visit for more information about NTP products and NTP servers This article may be republished and reprinted in its complete form or in part without seeking permission providing a relevant link to this site is maintained. It is a violation of copyright law to reprint or publish this content without following these terms.

Submitting articles has become one of the most popular means of generating quality backlinks and targeted traffic to your website. Join us today - It's Free!

Article Comments

Comment on this article Comment on this article
Your Name
Your Email:
Comment Body
Enter Validation Code: Captcha


Related Articles

History of Horology; Sundials to Atomic Clocks
By: Richard n Williams | 28/04/2008 | Networks
This article describes the history of horology from early sundials to modern atomic clcoks and NTP GPs time servers.

Killing Time; the Importance of Time Synchronisation in Criminal Cases
By: Richard n Williams | 28/04/2008 | Computer Forensics
This article describes how accurate time synchronisation can help in criminal activities and is critical in keeping modern computer networks secure.

How to Install and Configure a Ntp Server
By: Richard n Williams | 28/04/2008 | Networks
Thisa rticel describes how to install an NTP time server on a network using either GPS or an alternative radio transmission.

Timing is Everything: Ntp and the Importance of Accurate Network Time Synchronisation
By: Richard n Williams | 29/04/2008 | Networks
This article explains the importance of synchronising networks to the same time. It explains NTP and UTC time and how you can synchronise yuor network to UTC time via a NTP time server

Choosing GPS or Msf as a Timing Reference for Ntp Servers
By: Richard n Williams | 29/04/2008 | Networks
This article explains the advantages and disadvantages of GPS and MSF signals as a timing reference for a NTP server.

Using Atomic Clocks as External Ntp Timing References
By: Richard n Williams | 29/04/2008 | Networks
This article discusses the atomic clock and technology surrounding them including NTP servers.

Ntp Security: Authentication and Trusted Time References
By: Richard n Williams | 30/04/2008 | Security
This article discusses the importance of keeping a network secure and the problems that occur when some administrators fail to use an authenticated timing source, usully from the Internet, for their NTP server.

How to Run a Network Time Server in Windows Xp
By: Richard n Williams | 30/04/2008 | Computers
This article gives a step-by-step guide to running a network time server using Windows XP and NTP.

Got a Question? Ask.

Ask the community a question about this article:

Frequently Asked Questions

Is the 62nd AirBorne Group still in existance ...
By: Grover A. Salmon Jr. | 16-08-2008
Is the 62nd AirBorne Group still in existance?  If so, where are they located. I was discharged from this group in 1949.   Grover A. Salmon Jr.    

My volume control icon is always disappearing from ...
By: Jim | 16-08-2008
My volume control icon is always disappearing from taskbar even after i reset it in the control panel.Is there a way to get it to sop doing that?Thank you

How to open a password protected document that will not open with password - Word 2002
By: rivasnwa | 16-08-2008
password protected document will not open with password - Word 2002

I.O.U.S.P. Meaning
By: Pauline | 16-08-2008
What does i.O.U.S.P.Stand for and how does it affect us?

How can i install the HP Deskjet F2100 All In One Printer on my Laptop that has Windows Me with out a disc?
By: bludolfnangel | 15-08-2008
i was told that the HP deskjet F2100 all in one printer would work on windows me but we don't have a disc so how can i install it on my laptop can some one please help me out thank you and god bless

Where can i find information about a Gang (TRG) in ...
By: NYNiqqy | 14-08-2008
Where can i find information about a Gang (TRG) in LA

Q&A Powered by:
Powered by Yedda 

Latest Networks Articles

Home Networking One 0n 0ne Part 3
By: Joseph Nyamache | 02/09/2008
When you speak of home networking, the novice is immediately thrown into a pool of cryptic acronyms and names. Fortunately, today home networks are quite easy to build.

Home Networking One 0n 0ne Part 2
By: Joseph Nyamache | 02/09/2008
Part two of home networking will examine whey you need to monitor all activity on your network as well as the systems connected to it. Do not allow friends of your children, neighbors or anyone else to use your network until you really get to know them well.

Home Networking One 0n 0ne Part 1
By: Joseph Nyamache | 02/09/2008
This is part one of home networking as you may already know gone forever are the days that computer users used to share data by means of floppy discs. Today, most computers no longer have a floppy disc drive because they are swiftly becoming obsolete.

Setting Up a Home Networking System
By: Joseph Nyamache | 01/09/2008
Setting up your own home networking system is been made up simple and easy that it used to be say a decade ago. Here are a few things you should consider:

Ntp - Using an Atomic Clock Receiver for Time Synchronisation
By: Richard n Williams | 01/09/2008
This article explores Atomic Clock Technology in computer time synchronization

Time Synchronization Basics: Configuring Windows as an Ntp Server
By: Richard n Williams | 01/09/2008
This article explains basic time synchronization principles and explains basic NTP configuration for Windows systems.

Troubleshooting Internet / Network Connectivity Using the Osi Model
By: Stuart King | 01/09/2008
An article on how to use the OSI model for troubleshooting internet / network issues

Subnetting for Dummies With Scenario's
By: Stuart King | 31/08/2008
An article on how to subnet with ease

More from Richard n Williams

Ntp - Using an Atomic Clock Receiver for Time Synchronisation
By: Richard n Williams | 01/09/2008 | Networks
This article explores Atomic Clock Technology in computer time synchronization

Time Synchronization Basics: Configuring Windows as an Ntp Server
By: Richard n Williams | 01/09/2008 | Networks
This article explains basic time synchronization principles and explains basic NTP configuration for Windows systems.

Ntp Time Server - the Art of Synchronisation
By: Richard n Williams | 26/08/2008 | Networks
This article explains network time synchronization

Ntp Server - Why the Need for a Dedicated Time Server
By: Richard n Williams | 26/08/2008 | Networks
This article explains the benefits of a dedicated NTP server

Comment Fonctionne Un De Serveur De Temps Avec Une Interface Réseau Sous Windows Xp ?
By: Richard n Williams | 19/08/2008 | Networks
XP configuration de serveur de temps

C'est Quoi, L'heure ? Des Cadrans Solaires à Ntp
By: Richard n Williams | 19/08/2008 | Networks
histoire de temps

Ip65 Et Ip54 – Protéger Votre équipement électrique Contre La Poussière, Les Débris Et Le Liquide
By: Richard n Williams | 19/08/2008 | Hardware
L’article explique les normes IP telles que IP65 et IP54 sur des équipements électriques pour les protéger dans des environnements industriels.

Uses of Touch Screen Monitors
By: Richard n Williams | 19/08/2008 | Hardware
This article explores touch screen monitors.

Article Categories






Give Feedback

Sign up for our email newsletter

Receive updates, enter your email below