PROTOCOL EXPLORERLearn how the internet works
Now learningICMP · Diagnostics & errorsOverview · 4 steps
Learning progress0%
0 / 14 complete · 0 in progress
Client192.168.1.10Router192.168.1.1InternetWeb Server203.0.113.10

Protocol overview

ICMP

Active

Internet Control Message Protocol

Explore network diagnostics with echo requests, echo replies and time-exceeded errors. ICMP reports network conditions rather than carrying an application stream.

Layer
Network (Layer 3)
Default port
No ports
Transport
IPv4 (ICMPv4)
Data format
Types, codes and diagnostic data
Defined in
RFC 792, RFC 4443
Read the complete guide ↗

Packet flow

DNSTCPRequestResponse
No.TimeSourceDestinationProtocolInfoSize
10.000s192.168.1.10203.0.113.10ICMPEcho request · id=7 seq=160 B
20.024s203.0.113.10192.168.1.10ICMPEcho reply · id=7 seq=160 B
30.048s192.168.1.10203.0.113.10ICMPProbe · TTL 160 B
40.072s192.168.1.1192.168.1.10ICMPTime exceeded · quoted IPv4 + 8 bytes70 B

ICMP Echo, Ping and Time Exceeded

Compare ICMP echo request, echo reply and Time Exceeded packets. See how ping identifies replies and how a router reports an expired TTL.

Understanding ICMP

Explore network diagnostics with echo requests, echo replies and time-exceeded errors. ICMP reports network conditions rather than carrying an application stream.

Default port
No ports
Transport / carrier
IPv4 (ICMPv4)
Category
core

What to look for in the lab

Match the identifier and sequence number in the echo request and reply. Next, inspect the Time Exceeded packet after the TTL 1 probe and look for the quoted bytes from the original packet.

1. Send an echo request

Ping uses an ICMP Echo Request with an identifier and sequence number. ICMP is carried directly in IP and has no TCP or UDP ports.

2. Measure the reply

An Echo Reply mirrors the payload. The measured round-trip time includes both network paths and processing delay.

3. Expire the hop budget

A router discards a packet whose TTL expires and may send Time Exceeded. Traceroute uses increasing hop limits to reveal responding routers.

4. Interpret diagnostic limits

A missing reply can mean filtering, rate limiting or loss. It does not prove that a host is offline or that application traffic cannot work.

Protocol relationships

Protocols cooperate across layers. Compare the neighboring lessons to distinguish addressing, delivery, application semantics and encryption.

Standards and editorial method

Written and implemented independently by NavSprout. Lessons summarize public protocol standards using synthetic documentation addresses and fictional credentials. Consult the standards for complete wire formats and normative behavior.

RFC 792 ↗ RFC 4443 ↗

Check your understanding

Does ping use a TCP port?