PROTOCOL EXPLORERHOW THE INTERNET TALKS

OSI 

Protocols

Protocol overview

PACKET FLOW

NO.TIMESOURCEDESTINATIONPROTOCOLINFOSIZE
Try it hands-on: build a network and watch real ARP, DNS, DHCP and ICMP packets in the Network Lab.

How NTP works

NTP keeps clocks in sync to within milliseconds. The client records four timestamps (sent, received, replied, arrived) and from them works out both the network delay and its own clock offset.

Layer: Application (OSI layer 7) · Port: 123 · Transport: UDP · Format: 48-byte timestamps · Standard: RFC 5905

NTP packet flow

  1. NTP Client → NTP Server: Client request t1=12:00:00.000
  2. NTP NTP Server → Client: Server reply t2=…000.012 t3=…000.013
  3. NTP Client → Client: Offset = ((t2-t1)+(t3-t4))/2 → adjust clock

Other protocols: Ethernet · IP · IPv6 · TCP · UDP · ICMP · ARP · DHCP · DNS · BGP · IGMP