| Type | Name | Description |
|---|---|---|
| 3 | Destination Unreachable | Host/network/port cannot be reached |
| 5 | Redirect | Better route exists for this destination |
| 8 | Echo Request | Ping request sent to target |
| 12 | Parameter Problem | IP header field contains invalid data |
ICMP (Internet Control Message Protocol) is a network-layer protocol used by devices to communicate errors and operational information. ICMP error messages are sent when a router or host encounters a problem delivering an IP packet. Each error message has a specific Type number that identifies the category of the problem.
When a device (router, firewall, or host) receives an IP packet it cannot process or deliver correctly, it generates an ICMP error message and sends it back to the source. Key ICMP error types include:
Type 8 is not an error message — it is an Echo Request (ping). Type 0 is the Echo Reply.
Understanding ICMP types is critical for network troubleshooting and security analysis. Network administrators use these codes to diagnose connectivity issues, misconfigured routers, and malformed packets. In cybersecurity, ICMP messages can also be abused for reconnaissance (ping sweeps), denial-of-service attacks (ICMP floods), and covert channels — making it essential to know what each type means.
A firewall administrator notices repeated ICMP Type 12 messages originating from a router on the network. Investigation reveals that a misconfigured VPN appliance is generating packets with a corrupted IP options field. The Type 12 error pinpoints the exact byte offset in the header where the problem occurs (via the ICMP pointer field), allowing the admin to quickly isolate the faulty device and correct its configuration.
When an exam question mentions an "IP header field contains invalid information" or an "IP parameter problem," the answer is always ICMP Type 12 – Parameter Problem. Remember: Type 3 = unreachable, Type 5 = redirect, Type 8 = echo request, Type 11 = TTL expired, and Type 12 = bad header field.