ICMP Type/Code Reference
Common ICMP type and code values with names and descriptions.
| Type | Code | Name | Description |
|---|---|---|---|
| 0 | 0 | Echo reply | Reply to ICMP Echo Request |
| 3 | 0 | Destination unreachable | Net unreachable |
| 3 | 1 | Destination unreachable | Host unreachable |
| 3 | 2 | Destination unreachable | Protocol unreachable |
| 3 | 3 | Destination unreachable | Port unreachable |
| 3 | 4 | Destination unreachable | Fragmentation needed, DF set |
| 3 | 5 | Destination unreachable | Source route failed |
| 5 | 0 | Redirect | Redirect datagram for the network |
| 5 | 1 | Redirect | Redirect datagram for the host |
| 8 | 0 | Echo request | Echo request (ping) |
| 9 | 0 | Router advertisement | Router advertisement |
| 10 | 0 | Router solicitation | Router solicitation |
| 11 | 0 | Time exceeded | TTL expired in transit |
| 11 | 1 | Time exceeded | Fragment reassembly time exceeded |
| 12 | 0 | Parameter problem | Pointer indicates the error |
| 13 | 0 | Timestamp request | Timestamp request |
| 14 | 0 | Timestamp reply | Timestamp reply |
| 17 | 0 | Address mask request | |
| 18 | 0 | Address mask reply |