Network Time Protocol

From Academic Kids

(Redirected from Network time protocol)
Internet protocol suite   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 ( and for which ports to the most popular operating systems exist, a number of manufacturers offer standalone timeserver appliances like Symmetricom (, Meinberg (, FEI-Zyfer ( and others. These dedicated servers can provide accurate time to computer networks of any size.

See also

External links

General NTP links:

  • NTP homepage ( Research and development on the NTP protocol and the Reference Implementation
  • NTP Public Services Project ( 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 (
  • NTPv4 ( Release Notes
  • IETF NTP working group (
  • ( Public pool of NTP server for everyone to use

NTP-related software:

  • Windows Port of NTP ( Port of the reference implementation from, including a comfortable installer
  • Abouttime ( NTP client for Windows
  • Dimension 4 ( SNTP client for Windows
  • Chrony ( a Unix time program compatible with NTP
  • OpenNTPd ( SNTP program developed by the OpenBSD project
  • NIST Timesoftware list (

Manufacturers of NTP-based timeservers:

  • Time & Frequency Solutions ( manufacturer of NTP Timeservers called NTP8, M210, M211 & TFD8000
  • Symmetricom ( manufacturer of high performance NTP time servers
  • Meinberg Radio Clocks ( manufacturer of Linux-based NTP timeservers called LANTIME
  • Galleon Radio Clocks ( manufacturer of NTP timeservers
  • FEI-Zyfer ( 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


Academic Kids Menu

  • Art and Cultures
    • Art (
    • Architecture (
    • Cultures (
    • Music (
    • Musical Instruments (
  • Biographies (
  • Clipart (
  • Geography (
    • Countries of the World (
    • Maps (
    • Flags (
    • Continents (
  • History (
    • Ancient Civilizations (
    • Industrial Revolution (
    • Middle Ages (
    • Prehistory (
    • Renaissance (
    • Timelines (
    • United States (
    • Wars (
    • World History (
  • Human Body (
  • Mathematics (
  • Reference (
  • Science (
    • Animals (
    • Aviation (
    • Dinosaurs (
    • Earth (
    • Inventions (
    • Physical Science (
    • Plants (
    • Scientists (
  • Social Studies (
    • Anthropology (
    • Economics (
    • Government (
    • Religion (
    • Holidays (
  • Space and Astronomy
    • Solar System (
    • Planets (
  • Sports (
  • Timelines (
  • Weather (
  • US States (


  • Home Page (
  • Contact Us (

  • Clip Art (
Personal tools