watch> ntp — 2 packets

NTP · Protocol

Network Time Protocol

ApplicationL7port 123
STEPS
  1. 1CLOCKS DRIFTThe laptop’s clock is a little slow
  2. 2ASK FOR THE TIMET1: when the request leaves
  3. 3THE ANSWERT2 and T3 from the server, T4 on arrival
  4. 4THE OFFSETFour times, two answers
  5. 5EASE IT INNo jumps backwards
NETWORK VIEW
Client192.168.1.10Router192.168.1.1Internettime.windows.com203.0.113.123
STEP 1/5 · 0/2
PACKET FLOWNTP
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s192.168.1.10203.0.113.123NTPNTP Version 3, client90 B
20.012s203.0.113.123192.168.1.10NTPNTP Version 3, server90 B

Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.

LAYERApplication (Layer 7)
PORTUDP 123
MESSAGE48 bytes
TIMESTAMPS4: T1 to T4
ACCURACYA few milliseconds online
DEFINED INRFC 5905

What is NTP?

NTP synchronises clocks to within milliseconds using four timestamps and a clever offset calculation. The client eases the correction in gradually — never jumping time backwards.

Steps

  1. 1. CLOCKS DRIFTThe laptop’s clock is a little slow
  2. 2. ASK FOR THE TIMET1: when the request leaves
  3. 3. THE ANSWERT2 and T3 from the server, T4 on arrival
  4. 4. THE OFFSETFour times, two answers
  5. 5. EASE IT INNo jumps backwards

Which port does NTP use?

NTP primarily uses port 123.

Which layer does NTP run at?

NTP sits at Application (Layer 7).

Where is NTP defined?

RFC 5905.

Related ports

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as NTP (Network Time Protocol), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.