ICMP Type and Code IDs
This reference provides information about default ICMP type and Code IDs.
Identifying Default ICMP Types
The following table lists the default ICMP types:
ICMP Type |
Message |
---|---|
0 |
Echo reply |
3 |
Destination unreachable |
4 |
Source quench |
5 |
Redirect |
8 |
Echo |
9 |
Router advertisement |
10 |
Router selection |
11 |
Time exceeded |
12 |
Parameter problem |
13 |
Timestamp |
14 |
Timestamp reply |
15 |
Information request |
16 |
Information reply |
17 |
Address mask request |
18 |
Address mask reply |
30 |
Traceroute |
Identifying Default ICMP Codes
The following tables list the default ICMP codes:
Destination Unreachable Code |
Description |
---|---|
0 |
Net is unreachable |
1 |
Host is unreachable |
2 |
Protocol is unreachable |
3 |
Port is unreachable |
4 |
Fragmentation is needed and Don't Fragment was set |
5 |
Source route failed |
6 |
Destination network is unknown |
7 |
Destination host is unknown |
8 |
Source host is isolated |
9 |
Communication with destination network is administratively prohibited |
10 |
Communication with destination host is administratively prohibited |
11 |
Destination network is unreachable for type of service |
12 |
Destination host is unreachable for type of service |
13 |
Communication is administratively prohibited |
14 |
Host precedence violation |
15 |
Precedence cutoff is in effect |
Redirect Code |
Description |
---|---|
0 |
Redirect datagram for the network (or subnet) |
1 |
Redirect datagram for the host |
2 |
Redirect datagram for the type of service and network |
3 |
Redirect datagram for the type of service and host |
Time Exceeded Code |
Description |
---|---|
0 |
Time to Live exceeded in transit |
1 |
Fragment reassembly time exceeded |
Parameter Problem Code |
Description |
---|---|
0 |
Pointer indicates the error |
1 |
Missing a required option |
2 |
Bad length |