ICMP (Internet Control Message Protocol)
ICMP is a network layer supporting protocol used by routers and hosts to send error messages and operational diagnostic telemetry.
ICMP powers ping (Echo Request/Reply Type 8/0) and traceroute (TTL Expired Type 11) for diagnostic reachability.
In Simple Terms
Visual Diagram & Flow
◄── Type 0 (Echo Reply)
ICMP is the primary tool for testing layer 3 network reachability, MTU path discovery, and network latency.
How It Works (Technical Breakdown)
Like using submarine sonar: you emit a ping pulse through the water and measure how long it takes for the echo to bounce back.
Running `ping 8.8.8.8` sends 4 ICMP Echo Requests and reports: `Reply from 8.8.8.8: bytes=32 time=14ms TTL=117`.
Thinking ping uses TCP or UDP. ICMP is encapsulated directly inside the IP packet (IP Protocol 1), without any transport layer port numbers.
Prerequisites
Next & Related Concepts
Explore the complete curriculum roadmap.Concept Mastery Quiz
Test your comprehension with active-recall questions.
Active Recall Flashcards
Click each flashcard to reveal the answer and test your memory.
Content Versioning
Audit trail of revisions and updates for this knowledge topic.
| Version | Change Summary | Author | Timestamp |
|---|---|---|---|
| v1 (Current) | Active production content | system | Sun, Aug 23, 2026 11:09 AM |