Network Time Protocol

Internet protocol suite   edit  (https://academickids.com:443/encyclopedia/index.php?title=Template:IPstack&action=edit)
Application layer HTTP, HTTPS, SMTP, FTP, UUCP, NNTP,
SSH, IRC, SNMP, SIP, RTP, Telnet ,...
Transport layer TCP, UDP, SCTP, DCCP, ...
Network layer IPv4, IPv6, ICMP, ARP, IGMP, ...
Data link layer Ethernet, Wi-Fi, Token ring, FDDI, PPP, ...
Physical layer RS-232, EIA-422, RS-449, EIA-485...

The Network Time Protocol (NTP) is a protocol for synchronising the clocks of computer systems over packet-switched, variable-latency data networks. NTP uses UDP as its transport layer. It is designed particularly to resist the effects of variable latency.

NTP uses Marzullo's algorithm with the UTC time scale, including support for features such as leap seconds. NTPv4 can usually maintain time to within 10 milliseconds (1/100 s) over the public Internet, and can achieve accuracies of 200 microseconds (1/5000 s) or better in local area networks under ideal conditions.

NTP is one of the oldest internet protocols still in use. NTP was originally designed by Dave Mills of the University of Delaware, who still maintains it, along with a team of volunteers.

The NTP daemon is a user-level process that runs continuously on a machine that supports NTP, and most of the protocol is implemented in this user process. To get the best performance from NTP, it is important to have the standard NTP clock phase-locked loop implemented in the operating system kernel, rather than using only the intervention of the external NTP daemon: all recent versions of the Linux operating system have this support.

NTP uses a hierarchical system of "clock strata", where stratum 1 systems are synchronised to an accurate external clock such as a GPS clock or other radio clock. NTP stratum 2 systems derive their time from one or more stratum 1 systems, and so on (Note that this is different from the notion of clock stratum used in telecommunications systems).

The 64-bit timestamps used by NTP consist of a 32-bit seconds part and a 32-bit fractional second part, giving NTP a time scale of 232 seconds (136 years), with a theoretical resolution of 2−32 seconds (0.233 nanoseconds). Although the NTP timescale wraps round every 232 seconds, implementations should disambiguate NTP time using a knowledge of the approximate time from other sources. Since this only requires time accurate to a few decades, this is not a problem in general use.

The operational details of NTP are illustrated in RFC 778, RFC 891, RFC 956, RFC 958, and RFC 1305. (NTP should not be confused with the daytime (RFC 867) or time (RFC 868) protocols.) The current version is NTP version 4; however, as of 2005, only NTP up to version 3 has been documented in RFCs. The IETF NTP Working Group has formed to standardise the work of the NTP community since RFC 1305 et al.

A less complex form of NTP that does not require storing information about previous communications is known as the Simple Network Time Protocol or SNTP. It has gained a following in embedded devices and in applications where extremely high accuracy is not required. See RFC 1361, RFC 1769, and RFC 2030.

Besides the reference software implementation of NTP, which can be found on the NTP homepage (http://www.ntp.org) and for which ports to the most popular operating systems exist, a number of manufacturers offer standalone timeserver appliances like Symmetricom (http://www.ntp-systems.com/), Meinberg (http://www.meinberg.de/english/), FEI-Zyfer (http://www.fei-zyfer.com/) and others. These dedicated servers can provide accurate time to computer networks of any size.

See also

External links

General NTP links:

  • NTP homepage (http://www.ntp.org/) Research and development on the NTP protocol and the Reference Implementation
  • NTP Public Services Project (http://ntp.isc.org/) Does release engineering for the Reference Implementation, provides the Community Supported Documentation for NTP, mailing list/newsgroup/irc support for NTP, and provides the mailing list resources for the IETF NTP Working Group
  • Dave Mills' homepage (http://www.eecis.udel.edu/~mills/)
  • NTPv4 (http://www.eecis.udel.edu/~mills/ntp/html/release.html) Release Notes
  • IETF NTP working group (http://www.ietf.org/html.charters/ntp-charter.html)
  • pool.ntp.org (http://www.pool.ntp.org/) Public pool of NTP server for everyone to use

NTP-related software:

  • Windows Port of NTP (http://www.meinberg.de/english/sw/ntp.htm) Port of the reference implementation from ntp.org, including a comfortable installer
  • Abouttime (http://www.arachnoid.com/abouttime/) NTP client for Windows
  • Dimension 4 (http://www.thinkman.com/dimension4/) SNTP client for Windows
  • Chrony (http://chrony.sunsite.dk/) a Unix time program compatible with NTP
  • OpenNTPd (http://www.openntpd.org/) SNTP program developed by the OpenBSD project
  • NIST Timesoftware list (http://www.boulder.nist.gov/timefreq/general/softwarelist.htm)

Manufacturers of NTP-based timeservers:

  • Time & Frequency Solutions (http://www.timefreq.com) manufacturer of NTP Timeservers called NTP8, M210, M211 & TFD8000
  • Symmetricom (http://www.ntp-systems.com) manufacturer of high performance NTP time servers
  • Meinberg Radio Clocks (http://www.meinberg.de/english/) manufacturer of Linux-based NTP timeservers called LANTIME
  • Galleon Radio Clocks (http://www.galleon.eu.com/) manufacturer of NTP timeservers
  • FEI-Zyfer (http://www.fei-zyfer.com) manufacturer of NTP timeservers called NTPSynccs:NTP

da:Network Time Protocol de:Network Time Protocol fr:Network time protocol it:NTP nl:Network Time Protocol ja:Network Time Protocol pl:NTP pt:Network Time Protocol ru:NTP

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools