Internet Control Message Protocol (ICMP) Parameters

Last Updated

  • 2026-10-29

Available Formats


ICMP Type Numbers

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers
  • RFC 9899: Extensions to the YANG Data Model for Access Control Lists (ACLs)

Note

The Internet Control Message Protocol (ICMP) has many messages that are identified by a "type" field.

Note

When this registry is modified, the YANG module "iana-icmpv4-types" YANG Parameters must be updated as defined in RFC 9899.

Available Formats

TypeNameReference
0Echo ReplyRFC 792
1Unassigned
2Unassigned
3Destination UnreachableRFC 792
4Source Quench (Deprecated)RFC 792; RFC 6633
5RedirectRFC 792
6Alternate Host Address (Deprecated)RFC 6918
7Unassigned
8EchoRFC 792
9Router AdvertisementRFC 1256
10Router SolicitationRFC 1256
11Time ExceededRFC 792
12Parameter ProblemRFC 792
13TimestampRFC 792
14Timestamp ReplyRFC 792
15Information Request (Deprecated)RFC 792; RFC 6918
16Information Reply (Deprecated)RFC 792; RFC 6918
17Address Mask Request (Deprecated)RFC 950; RFC 6918
18Address Mask Reply (Deprecated)RFC 950; RFC 6918
19Reserved (for Security)Solo
20-29Reserved (for Robustness Experiment)Zaw-Sing Su
30Traceroute (Deprecated)RFC 1393; RFC 6918
31Datagram Conversion Error (Deprecated)RFC 1475; RFC 6918
32Mobile Host Redirect (Deprecated)David Johnson; RFC 6918
33IPv6 Where-Are-You (Deprecated)Bill Simpson; RFC 6918
34IPv6 I-Am-Here (Deprecated)Bill Simpson; RFC 6918
35Mobile Registration Request (Deprecated)Bill Simpson; RFC 6918
36Mobile Registration Reply (Deprecated)Bill Simpson; RFC 6918
37Domain Name Request (Deprecated)RFC 1788; RFC 6918
38Domain Name Reply (Deprecated)RFC 1788; RFC 6918
39SKIP (Deprecated)Tom Markson; RFC 6918
40PhoturisRFC 2521
41ICMP messages utilized by experimental mobility protocols such as SeamobyRFC 4065
42Extended Echo RequestRFC 8335
43Extended Echo ReplyRFC 8335
44-252Unassigned
253RFC3692-style Experiment 1RFC 4727
254RFC3692-style Experiment 2RFC 4727
255ReservedJon Postel

Code Fields

Reference

  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Note

Many of these ICMP types have a "code" field. Here we list the types again with their assigned code fields.


Type 0 — Echo Reply

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0No Code

Type 1 — Unassigned

CodesDescriptionReference
No registrations at this time.

Type 2 — Unassigned

CodesDescriptionReference
No registrations at this time.

Type 3 — Destination Unreachable

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0Net UnreachableRFC 792
1Host UnreachableRFC 792
2Protocol UnreachableRFC 792
3Port UnreachableRFC 792
4Fragmentation Needed and Don't Fragment was SetRFC 792
5Source Route FailedRFC 792
6Destination Network UnknownRFC 1122
7Destination Host UnknownRFC 1122
8Source Host IsolatedRFC 1122
9Communication with Destination Network is Administratively ProhibitedRFC 1122
10Communication with Destination Host is Administratively ProhibitedRFC 1122
11Destination Network Unreachable for Type of ServiceRFC 1122
12Destination Host Unreachable for Type of ServiceRFC 1122
13Communication Administratively ProhibitedRFC 1812
14Host Precedence ViolationRFC 1812
15Precedence cutoff in effectRFC 1812

Type 4 — Source Quench (Deprecated)

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 6633: Deprecation of ICMP Source Quench Messages

Available Formats

CodesDescriptionReference
0No Code

Type 5 — Redirect

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0Redirect Datagram for the Network (or subnet)
1Redirect Datagram for the Host
2Redirect Datagram for the Type of Service and Network
3Redirect Datagram for the Type of Service and Host

Type 6 — Alternate Host Address (Deprecated)

Reference

Available Formats

CodesDescriptionReference
0Alternate Address for Host

Type 7 — Unassigned

CodesDescriptionReference
No registrations at this time.

Type 8 — Echo

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0No Code

Type 9 — Router Advertisement

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 1256: ICMP Router Discovery Messages
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0Normal router advertisementRFC 3344
16Does not route common trafficRFC 3344

Type 10 — Router Selection

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 1256: ICMP Router Discovery Messages
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0No Code

Type 11 — Time Exceeded

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0Time to Live exceeded in Transit
1Fragment Reassembly Time Exceeded

Type 12 — Parameter Problem

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0Pointer indicates the error
1Missing a Required OptionRFC 1108
2Bad Length

Type 13 — Timestamp

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0No Code

Type 14 — Timestamp Reply

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0No Code

Type 15 — Information Request (Deprecated)

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types

Available Formats

CodesDescriptionReference
0No Code

Type 16 — Information Reply (Deprecated)

Reference

  • RFC 792: Internet Control Message Protocol
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types

Available Formats

CodesDescriptionReference
0No Code

Type 17 — Address Mask Request (Deprecated)

Reference

  • RFC 950: Internet Standard Subnetting Procedure
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types

Available Formats

CodesDescriptionReference
0No Code

Type 18 — Address Mask Reply (Deprecated)

Reference

  • RFC 950: Internet Standard Subnetting Procedure
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types

Available Formats

CodesDescriptionReference
0No Code

Type 19 — Reserved (for Security)

Reference

CodesDescriptionReference
No registrations at this time.

Types 20-29 — Reserved (for Robustness Experiment)

Reference

CodesDescriptionReference
No registrations at this time.

Type 30 — Traceroute (Deprecated)

Reference

  • RFC 1393: Traceroute Using an IP Option
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types
CodesDescriptionReference
No registrations at this time.

Type 31 — Datagram Conversion Error (Deprecated)

Reference

  • RFC 1475: TP/IX: The Next Internet
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types
CodesDescriptionReference
No registrations at this time.

Type 32 — Mobile Host Redirect (Deprecated)

Reference

CodesDescriptionReference
No registrations at this time.

Type 33 — IPv6 Where-Are-You (Deprecated)

Reference

CodesDescriptionReference
No registrations at this time.

Type 34 — IPv6 I-Am-Here (Deprecated)

Reference

CodesDescriptionReference
No registrations at this time.

Type 35 — Mobile Registration Request (Deprecated)

Reference

CodesDescriptionReference
No registrations at this time.

Type 36 — Mobile Registration Reply (Deprecated)

Reference

CodesDescriptionReference
No registrations at this time.

Type 37 — Domain Name Request (Deprecated)

Reference

  • RFC 1788: ICMP Domain Name Messages
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types
CodesDescriptionReference
No registrations at this time.

Type 38 — Domain Name Reply (Deprecated)

Reference

  • RFC 1788: ICMP Domain Name Messages
  • RFC 6918: Formally Deprecating Some ICMPv4 Message Types
CodesDescriptionReference
No registrations at this time.

Type 39 — SKIP (Deprecated)

Reference

CodesDescriptionReference
No registrations at this time.

Type 40 — Photuris

Registration Procedure(s)

  • IESG Approval or Standards Action

Reference

  • RFC 2521: ICMP Security Failures Messages
  • RFC 2780: IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers

Available Formats

CodesDescriptionReference
0Bad SPI
1Authentication Failed
2Decompression Failed
3Decryption Failed
4Need Authentication
5Need Authorization

Type 41 — ICMP messages utilized by experimental mobility protocols such as Seamoby

Registration Procedure(s)

  • Specification Required or IESG Approval

Expert(s)

  • Unassigned

Reference

  • RFC 4065: Instructions for Seamoby and Experimental Mobility Protocol IANA Allocations
CodesDescriptionReference
No registrations at this time.

Type 42 — Extended Echo Request

Registration Procedure(s)

  • First Come First Served

Reference

  • RFC 8335: PROBE: A Utility for Probing Interfaces

Available Formats

CodesDescriptionReference
0No ErrorRFC 8335
1-255Unassigned

Type 43 — Extended Echo Reply

Registration Procedure(s)

  • First Come First Served

Reference

  • RFC 8335: PROBE: A Utility for Probing Interfaces

Available Formats

CodesDescriptionReference
0No ErrorRFC 8335
1Malformed QueryRFC 8335
2No Such InterfaceRFC 8335
3No Such Table EntryRFC 8335
4Multiple Interfaces Satisfy QueryRFC 8335
5-255Unassigned

Types 44-252 — Unassigned

CodesDescriptionReference
No registrations at this time.

Type 253 — RFC3692-style Experiment 1 [1]

Registration Procedure(s)

  • Standards Action or IESG Approval

Reference

  • RFC 4727: Experimental Values In IPv4, IPv6, ICMPv4, ICMPv6, UDP, and TCP Headers
CodesDescriptionReference
No registrations at this time.

Type 254 — RFC3692-style Experiment 2 [1]

Registration Procedure(s)

  • Standards Action or IESG Approval

Reference

  • RFC 4727: Experimental Values In IPv4, IPv6, ICMPv4, ICMPv6, UDP, and TCP Headers
CodesDescriptionReference
No registrations at this time.

ICMP Extension Object Classes and Class Sub-types

Reference

  • RFC 4884: Extended ICMP to Support Multi-Part Messages

Available Formats

RangeRegistration Procedures
0-246First Come First Served
247-255Private Use
Class ValueClass NameReference
1MPLS Label Stack ClassRFC 4950
2Interface Information ObjectRFC 5837
3Interface Identification ObjectRFC 8335
4Extended InformationRFC 8883
5Node Identification Objectdraft-fenner-intarea-extended-icmp-hostid-01
6Reflect AllRFC-ietf-6man-icmpv6-reflection-19
7Extended Interface Information Objectdraft-mitchell-intarea-rfc5837bis-02, Section 5
8-246Unassigned
247-255Reserved for Private UseRFC 4884

Sub-types — Class 1 — MPLS Label Stack Class

Registration Procedure(s)

  • First Come First Served

Reference

  • RFC 4950: ICMP Extensions for Multiprotocol Label Switching

Available Formats

C-Type (Value)DescriptionReference
0ReservedRFC 4950
1Incoming MPLS Label StackRFC 4950
2-246Unassigned
247-255Reserved for private useRFC 4950

Sub-types — Class 2 — Interface Information Object

Reference

  • RFC 5837: Extending ICMP for Interface and Next-Hop Identification

Available Formats

C-Type (Value)DescriptionReference
0-1Interface Role fieldRFC 5837
2Unallocated - allocatable with Standards ActionRFC 5837
3Unallocated - allocatable with Standards ActionRFC 5837
4ifIndex includedRFC 5837
5IP Address Sub-object includedRFC 5837
6Name Sub-object includedRFC 5837
7MTU includedRFC 5837

Sub-types — Class 2 — Interface Information Object — Interface Roles

Available Formats

ValueDescriptionReference
0Incoming IP InterfaceRFC 5837
1Sub-IP Component of Incoming IP InterfaceRFC 5837
2Outgoing IP InterfaceRFC 5837
3IP Next-hopRFC 5837

Sub-types — Class 3 — Interface Identification Object

Registration Procedure(s)

  • First Come First Served

Reference

  • RFC 8335: PROBE: A Utility for Probing Interfaces

Available Formats

CodesDescriptionReference
0ReservedRFC 8335
1Identifies Interface By NameRFC 8335
2Identifies Interface By IndexRFC 8335
3Identifies Interface By AddressRFC 8335
4-255Unassigned

Sub-types — Class 4 — Extended Information

Registration Procedure(s)

  • Standards Action

Reference

  • RFC 8883: ICMPv6 Errors for Discarding Packets Due to Processing Limits

Available Formats

ValueDescriptionReference
0ReservedRFC 8883
1PointerRFC 8883

Sub-types — Class 6 — Reflect All

Registration Procedure(s)

  • First Come First Served

Reference

Available Formats

C-Type (Value)DescriptionReference
0RequestRFC-ietf-6man-icmpv6-reflection-19
1Reply - No ErrorRFC-ietf-6man-icmpv6-reflection-19
2Reply - Unsupported ObjectRFC-ietf-6man-icmpv6-reflection-19
3-255Unassigned

Contact Information

NameContact URILast Updated
Jon Postelpostel&isi.edu1995-09
David Johnson
Tom Marksonmarkson&osmosys.incog.com1995-09
Bill SimpsonBill.Simpson&um.cc.umich.edu1995-10
Zaw-Sing SuZSu&TSCA.ISTC.SRI.COM

Footnote

[1]

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.