Remember Me
forgot your password?

How a Ntp Server Works

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.

Richard n Williams

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.

Rate this Article: 5 / 5 stars - 1 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Networks Articles
  • More from Richard n Williams

Examsoon 000-015 exam Materials

By: Adela1987 | 29/12/2009
Examsoon publishes IBM 000-015 Study Guide in order to response the customers demand. IBM 000-015 Study Guide is built with full coverage of all exam objectives in a systematic approach. Our technical experts ensure that you are getting all the instruction you need for IBM certifications I 000-015 exam.

Top 5 Tips to Increase Social Capital in the Blogosphere

By: Sparxoo | 28/12/2009
Blogs like Boing Boing and TechCrunch are a testament to the significant momentum blogs have experiences in the past several years. These highly influential blogs, with millions of followers, have built their social capital...

Exam N10-003

By: andy | 28/12/2009
Among the various disciplines of science, perhaps Information Technology is the only discipline which has seen a rapid growth as a subject. By going through the certification exams, one can keep his knowledge updated and refreshed. Moreover, the certifications’ exams are also helpful in getting authenticity of one’s capabilities in certain IT fields.

n10-003 torrent

By: andy | 28/12/2009
In many cases, you will find, with an IT certification is very important. When you want to find a good job, when you want access to high-income, when you want to promote to high positions, IT certification will give you great benefits.

ec0-350 pass4sure

By: andy | 28/12/2009
With the complete collection of Questions and Answers, Certinside EC0-350 is high enough to help the candidates to pass EC0-350 exam easily without any other study materials and no need to attend the expensive training class.

hp0-m18 dumps

By: andy | 28/12/2009
We provides high quality HP HP0-M18 practice exam. It is the best and the hp0-m18 dumps. Furthermore, we are constantly updating our HP0-M18 exam. These Exam Resources updates are supplied free of charge to Certinside customers. If you have any question about Certinside HP0-M18 exam, please feel free to contact us at any time.

1K0-002 braindump

By: andy | 28/12/2009
The 1K0-002 braindump cover the latest real test and with all the correct answer.we promise the Q&A for Polycom Certification 1K0-002(CVE-2) examination of original title complete coverage.1K0-002 Questions and Answers help you pass the exam. Otherwise,we will give you a full refund.

000-111 text

By: andy | 28/12/2009
When you take IBM exam,you can visit Certinside to know the latest messages.Certinside will provide quality services to help you through the IBM 000-111 certification exam.Certinside help you on the road to success.

The Fascinating World of Ladders

By: Richard n Williams | 23/12/2009 | Home Improvement
There is more to the humble ladder than you may think. Most households have them, under all that junk in the garage, or propped up in a cupboard, and yet little thought goes into what are quite fascinating tools.

The Funny side of Ladders

By: Richard n Williams | 23/12/2009 | Home Improvement
When the word ladder is ever uttered. Our minds always turn to think that aluminium ladder in the garage or the step ladders under the stairs. But the word ladder has had many uses over the years and not ladders can be climbed.

Choosing the Right Ladder for the Job

By: Richard n Williams | 23/12/2009 | Tools & Equipment
There are a vast array of different types of ladders on the market and it can be often confusing when it comes to buying a ladder to find the exact one that suits your requirements. Despite the myriad of names and terms given to some ladders, they pretty much fall into three categories:

How to Start Recycling

By: Richard n Williams | 23/12/2009 | Home & Family
It is estimated that four out of ten households are still not recycling their waste and the most common reason given is that people say they find recycling confusing.

Saving Money in the Winter Months – Money Saving Tips for Home and Office

By: Richard n Williams | 23/12/2009 | Home & Family
The winter brings with it more than just the cold and dark nights. Quite often winter is a time of high bills and large running costs especially if you have a home to run and a business. And with many of us now working at home and trying to run an office in the house, th e extra costs can be crippling this time of year.

Recycle your Christmas Tree

By: Richard n Williams | 23/12/2009 | Gardening
Christmas is a busy time, not just with all that eating, drinking and being merry. At Christmas time there is a huge deluge of recycling to be done; all that wrapping paper, empty boxes and left over turkey – not to mention the Christmas Tree.

Choosing an Eco Christmas gift

By: Richard n Williams | 17/12/2009 | Home & Family
We all know that Christmas is a time for giving but attempting to get that perfect gift for every member of the familiy can not only be difficult at the best of times but trying to buy an eco friendly Christmas gift can make it nearly impossible.

Stand-by Savers and Energy Monitors

By: Richard n Williams | 17/12/2009 | Home & Family
One of the biggest struggle throughout the cold winter months is trying to keep those large heating and lighting bills down. This time of year is an expensive one; with Christmas around the corner the last thing most of us need is huge heating bills landing on the mat in the New Year.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.08, 2, w3)