watch> icmp — 10 packets

ICMP · Protocol

Internet Control Message Protocol

CoreL3
STEPS
  1. 1PINGEcho request
  2. 2ECHO REPLYRound-trip time
  3. 3TTL 1The first router answers
  4. 4TTL 2The next router answers
  5. 5THAT’S TRACEROUTETTL 1, 2, 3 … until it arrives
  6. 6UNREACHABLENothing listening on that port
NETWORK VIEW
Client192.168.1.10Router192.168.1.1InternetWeb Server203.0.113.10Access Server198.51.100.1
STEP 1/6 · 0/10
PACKET FLOWICMPUDP
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s192.168.1.10203.0.113.10ICMPEcho (ping) request id=0x0001, seq=1, ttl=12874 B
20.017s203.0.113.10192.168.1.10ICMPEcho (ping) reply id=0x0001, seq=1, ttl=5274 B
31.s192.168.1.10203.0.113.10ICMPEcho (ping) request id=0x0001, seq=2, ttl=174 B
41.001s192.168.1.1192.168.1.10ICMPTime-to-live exceeded (in transit)102 B
52.s192.168.1.10203.0.113.10ICMPEcho (ping) request id=0x0001, seq=3, ttl=274 B
62.005s198.51.100.1192.168.1.10ICMPTime-to-live exceeded (in transit)70 B
73.s192.168.1.10203.0.113.10ICMPEcho (ping) request id=0x0001, seq=4, ttl=1374 B
83.017s203.0.113.10192.168.1.10ICMPEcho (ping) reply id=0x0001, seq=4, ttl=5274 B
94.s192.168.1.10203.0.113.10UDP52500 → 9999 Len=1860 B
104.017s203.0.113.10192.168.1.10ICMPDestination unreachable (Port unreachable)88 B

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

LAYERNetwork (Layer 3)
CARRIED INIP (protocol 1)
MESSAGESA type and a code
TOOLSping, tracert / traceroute
OFTENFiltered by firewalls
DEFINED INRFC 792 (IPv6: RFC 4443)

What is ICMP?

ICMP is the internet's feedback channel: echo requests behind ping, TTL exceeded messages behind traceroute, and unreachable errors when nobody is home. It belongs to IP itself.

Steps

  1. 1. PINGEcho request
  2. 2. ECHO REPLYRound-trip time
  3. 3. TTL 1The first router answers
  4. 4. TTL 2The next router answers
  5. 5. THAT’S TRACEROUTETTL 1, 2, 3 … until it arrives
  6. 6. UNREACHABLENothing listening on that port

Which port does ICMP use?

ICMP does not use a fixed port number.

Which layer does ICMP run at?

ICMP sits at Network (Layer 3).

Where is ICMP defined?

RFC 792 (IPv6: RFC 4443).

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as ICMP (Internet Control Message 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.