Search

ICMPv6 Error messages

ICMPv6 error messages are used to report errors happened while IPv6 packet transmission in forwarding or delivery. ICMPv6 error messages are normally sent by a destination node computer-like device or a router.

The left-most bit (high order bit) of the 8-bit Type field of an ICMPv6 Error Message is reserved as 0. So, the value of the Type field in an ICMPv6 Error Message can be between 0 to 127.

Click the following link to learn more about binary, decimal and hexadecimal numbers.

Following paragraph is copied from RFC 792

ICMPv6 messages are grouped into two classes: error messages and
   informational messages.  Error messages are identified as such by a
   zero in the high-order bit of their message Type field values.  Thus,
   error messages have message types from 0 to 127; informational
   messages have message types from 128 to 255.

Below image shows the minimum and maximum possible values for Type field in an ICMPv6 Error message. Please refer below image.

icmpv6-type-field-values-error-message.png

 

Type and Code values for ICMPv6 Error messages

Following table lists important Type and Code values for ICMPv6 Error Messages. Please note that the Type field value for ICMPv6 error messages are between 0 and 127.

Type Field in ICMPv6 Message Code Field in ICMPv6 Message Description
Destination Unreachable (Value 1) 0 No Route to destination network
1 Administratively prohibited
2 Beyond scope of source address
3 IPv6 address unreachable
4 Port unreachable
5 Source address failed
6 Reject route to destination
7 Error in Source Routing Header
Packet Too Big (Value 2) 0 Packet too big for next hop link
Time Exceeded (Value 3) 0 Hop Limit exceeded
1 Fragment reassembly time exceeded
Parameter Problem (Value 4) 0 Header field error
1 Unrecognized Next Header type
2 Unrecognized IPv6 option
Private experimentation (100)   Private experimentation. Not for general use.
Private experimentation (101)   Private experimentation. Not for general use.
Reserved (127)   Reserved for future expansion

 

ICMPv6 Error Message wireshark capture

Following images show the network topology for ICMPv6 Destination not reachable (no route to destination) Error Message Wireshark capture, ICMPv6 Error Message wireshark capture for ICMPv6 Echo Request Message. Please note that the Type value for ICMPv6 Destination not reachable message is 1 and Code value is 0.

icmpv6-destination-unreachable-topology.jpg

 

icmpv6-destination-unreachable-message.jpg

 

Written by Jajish Thomas.
Last updated on 19th May, 2024.

 

Related Tutorials
Limitations of IPv4
IPv6 History and related RFCs
IPv6 Features
Differences Between IPv4 and IPv6
Unicast, Multicast and Anycast - Types of communication in IPv6
IPv6 Datagram Header Format
Comparison between IPv4 Header and IPv6 Header
Introduction to IPv6 Addressing
What is prefix and prefix length in IPv6, Similarity between IPv4 subnet mask and IPv6 prefix
IPv6 Address formats
How to Simplify Shorten and Compress IPv6 Addresses
Types of IPv6 Addresses, Global Unicast, Link-local, Multicast, Anycast, Loopback addresses
Global Unicast IPv6 Addresses, Global Unicast IPv6 Address prefix, format and range
Different methods to assign a Global Unicast IPv6 address to an interface
What are IEEE EUI-64 based Global Unicast IPv6 addresses
How to configure Static Global Unicast IPv6 Address in a Cisco Router Interface
How to configure EUI-64 based Global Unicast IPv6 Address in a Cisco Router Interface
How to configure static Global Unicast IPv6 Address in a Windows Server
What is SLAAC - Stateless Address Auto-configuration in IPv6
How SLAAC works in IPv6
Link Local IPv6 Addresses, How Link Local IPv6 addresses are generated
Unique Local IPv6 Addresses
Multicast IPv6 Address Format, Prefix, Flags and Scope
Anycast IPv6 Addresses
IPv6 Loopback Address and IPv6 Unspecified address
IPv6 Special Addresses and IPv6 well known prefixes
Solicited-Node Multicast IPv6 Address, How Solicited Node Multicast IPv6 Address are generated
ICMPv6 Functions, ICMPv6 Header Packet Format and Types of ICMPv6 messages
Types of ICMPv6 messages, ICMPv6 message format, ICMPv6 message fields
ICMPv6 informational messages
Introduction to Neighbour Discovery Protocol (NDP) and Functions of NDP
NDP (Neighbour Discovery Protocol), functions of NDP, Neighbour Solicitation and Advertisement, Router Solicitation and Advertisement
Router Solicitation and Router Advertisement Messages