Internet Control Message Protocol (ICMP) Parameters
2020-09-25
ICMP Type Numbers
IESG Approval or Standards Action
The Internet Control Message Protocol (ICMP) has many messages that
are identified by a "type" field.
0
Echo Reply
1
Unassigned
2
Unassigned
3
Destination Unreachable
4
Source Quench (Deprecated)
5
Redirect
6
Alternate Host Address (Deprecated)
7
Unassigned
8
Echo
9
Router Advertisement
10
Router Solicitation
11
Time Exceeded
12
Parameter Problem
13
Timestamp
14
Timestamp Reply
15
Information Request (Deprecated)
16
Information Reply (Deprecated)
17
Address Mask Request (Deprecated)
18
Address Mask Reply (Deprecated)
19
Reserved (for Security)
20-29
Reserved (for Robustness Experiment)
30
Traceroute (Deprecated)
31
Datagram Conversion Error (Deprecated)
32
Mobile Host Redirect (Deprecated)
33
IPv6 Where-Are-You (Deprecated)
34
IPv6 I-Am-Here (Deprecated)
35
Mobile Registration Request (Deprecated)
36
Mobile Registration Reply (Deprecated)
37
Domain Name Request (Deprecated)
38
Domain Name Reply (Deprecated)
39
SKIP (Deprecated)
40
Photuris
41
ICMP messages utilized by experimental
mobility protocols such as Seamoby
42
Extended Echo Request
43
Extended Echo Reply
44-252
Unassigned
253
RFC3692-style Experiment 1
254
RFC3692-style Experiment 2
255
Reserved
Code Fields
Many of these ICMP types have a "code" field. Here we list the types
again with their assigned code fields.
Type 0 — Echo Reply
IESG Approval or Standards Action
0
No Code
Type 1 — Unassigned
Type 2 — Unassigned
Type 3 — Destination Unreachable
IESG Approval or Standards Action
0
Net Unreachable
1
Host Unreachable
2
Protocol Unreachable
3
Port Unreachable
4
Fragmentation Needed and Don't
Fragment was Set
5
Source Route Failed
6
Destination Network Unknown
7
Destination Host Unknown
8
Source Host Isolated
9
Communication with Destination
Network is Administratively Prohibited
10
Communication with Destination Host is
Administratively Prohibited
11
Destination Network Unreachable for Type
of Service
12
Destination Host Unreachable for Type of
Service
13
Communication Administratively Prohibited
14
Host Precedence Violation
15
Precedence cutoff in effect
Type 4 — Source Quench (Deprecated)
0
No Code
Type 5 — Redirect
IESG Approval or Standards Action
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
Type 6 — Alternate Host Address (Deprecated)
0
Alternate Address for Host
Type 7 — Unassigned
Type 8 — Echo
IESG Approval or Standards Action
0
No Code
Type 9 — Router Advertisement
IESG Approval or Standards Action
0
Normal router advertisement
16
Does not route common traffic
Type 10 — Router Selection
IESG Approval or Standards Action
0
No Code
Type 11 — Time Exceeded
IESG Approval or Standards Action
0
Time to Live exceeded in Transit
1
Fragment Reassembly Time Exceeded
Type 12 — Parameter Problem
IESG Approval or Standards Action
0
Pointer indicates the error
1
Missing a Required Option
2
Bad Length
Type 13 — Timestamp
IESG Approval or Standards Action
0
No Code
Type 14 — Timestamp Reply
IESG Approval or Standards Action
0
No Code
Type 15 — Information Request (Deprecated)
0
No Code
Type 16 — Information Reply (Deprecated)
0
No Code
Type 17 — Address Mask Request (Deprecated)
0
No Code
Type 18 — Address Mask Reply (Deprecated)
0
No Code
Type 19 — Reserved (for Security)
Types 20-29 — Reserved (for Robustness Experiment)
Type 30 — Traceroute (Deprecated)
Type 31 — Datagram Conversion Error (Deprecated)
Type 32 — Mobile Host Redirect (Deprecated)
Type 33 — IPv6 Where-Are-You (Deprecated)
Type 34 — IPv6 I-Am-Here (Deprecated)
Type 35 — Mobile Registration Request (Deprecated)
Type 36 — Mobile Registration Reply (Deprecated)
Type 37 — Domain Name Request (Deprecated)
Type 38 — Domain Name Reply (Deprecated)
Type 39 — SKIP (Deprecated)
Type 40 — Photuris
IESG Approval or Standards Action
0
Bad SPI
1
Authentication Failed
2
Decompression Failed
3
Decryption Failed
4
Need Authentication
5
Need Authorization
Type 41 — ICMP messages utilized by experimental mobility protocols such as Seamoby
Specification Required or IESG Approval
Unassigned
Type 42 — Extended Echo Request
First Come First Served
0
No Error
1-255
Unassigned
Type 43 — Extended Echo Reply
First Come First Served
0
No Error
1
Malformed Query
2
No Such Interface
3
No Such Table Entry
4
Multiple Interfaces Satisfy Query
5-255
Unassigned
Types 44-252 — Unassigned
Type 253 — RFC3692-style Experiment 1
Standards Action or IESG Approval
Type 254 — RFC3692-style Experiment 2
Standards Action or IESG Approval
It is only appropriate to use these values in explicitly-
configured experiments; they MUST NOT be shipped as defaults in
implementations. See RFC 3692 for details.
ICMP Extension Object Classes and Class Sub-types
0-246
First Come First Served
247-255
Private Use
1
MPLS Label Stack Class
2
Interface Information Object
3
Interface Identification Object
4
Extended Information
5-246
Unassigned
247-255
Reserved for Private Use
Sub-types — Class 1 — MPLS Label Stack Class
First Come First Served
0
Reserved
1
Incoming MPLS Label Stack
2-246
Unassigned
247-255
Reserved for private use
Sub-types — Class 2 — Interface Information Object
0-1
Interface Role field
2
Unallocated - allocatable with Standards Action
3
Unallocated - allocatable with Standards Action
4
ifIndex included
5
IP Address Sub-object included
6
Name Sub-object included
7
MTU included
Sub-types — Class 2 — Interface Information Object — Interface Roles
0
Incoming IP Interface
1
Sub-IP Component of Incoming IP Interface
2
Outgoing IP Interface
3
IP Next-hop
Sub-types — Class 3 — Interface Identification Object
First Come First Served
0
Reserved
1
Identifies Interface By Name
2
Identifies Interface By Index
3
Identifies Interface By Address
4-255
Unassigned
Sub-types — Class 4 — Extended Information
Standards Action
0
Reserved
1
Pointer
Jon Postel
mailto:postel&isi.edu
1995-09
David Johnson
Tom Markson
mailto:markson&osmosys.incog.com
1995-09
Bill Simpson
mailto:Bill.Simpson&um.cc.umich.edu
1995-10
Zaw-Sing Su
mailto:ZSu&TSCA.ISTC.SRI.COM