NTP
Network Time ProtocolApplication layer · OSI 7Synchronizing computer clocks across the network
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
Overview
Quartz crystals inside computers slowly drift, yet certificates, logins, and logs rely on accurate time. measures clock offset and round-trip latency from just one UDP request and reply carrying four timestamps.
Network Time Protocol (RFC 5905) uses 48-byte datagrams over port 123. Over the open internet NTP reaches tens of milliseconds of accuracy (often sub-millisecond on a LAN), adjusting local clocks smoothly.
Key facts
- Layer
- Application (UDP port 123)
- Packet size
- 48 bytes
- Timestamps
- T1, T2, T3, T4
- Accuracy
- Tens of ms online; <1 ms on LAN
- Defined in
- RFC 5905
Four timestamps aligned the clock
One 48-byte request and reply delivered four timestamps that measured both the 24 ms round-trip network delay and the 250 ms clock error, letting the laptop adjust smoothly.
RFC 5905 NTPv4 4-timestamp calculation over UDP port 123 measured 24.0 ms delay and +250.0 ms offset.
- Computed offset
- +250.0 ms (clock was slow)
- Network RTT
- 24.0 ms
- Time source
- Stratum 2 server
- Transport
- UDP port 123 (48 B)
Try it yourself
Check local NTP synchronization status
View the configured time peer, measured clock offset, and last poll status.
w32tm /query /status