ICMPv6

ICMPv6

Internet Control Message Protocol Version 6 (ICMPv6) or ICMP for IPv6 is a new version of ICMP. ICMPv6 is defined in RFC 4443.ICMPv6 operates in the Internet Layer of the TCP/IP model and performs error reporting for the Internet Protocol, as well as some other diagnostic functions (such as "ping").

ICMPv6 is an integral part of the IPv6 architecture that must be completely supported by all IPv6 implementations and nodes.

Technical details

This article describes the format of a set of control messages used in ICMPv6.ICMPv6 messages are subdivided into two classes: "error messages" and "information messages".ICMPv6 messages are transported within an IPv6 packet in which IPv6 extension headers can also be present.The IPv6 Next Header value for ICMPv6 is 58.

Packets format

ICMPv6 packets have the format Type, Code & Checksum. The 8-bit "Type" field indicates the type of the message. If the high-order bit has value zero (values in the range from 0 to 127), it is an error message; if the high-order bit has value 1 (values in the range from 128 to 255), it is an information message. The 8-bit "Code" field content depends on the message type, and it is used to create an additional level of message granularity. The "Checksum" field is used to detect errors in the ICMP message and in part of the IPv6 message.

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type | Code | Checksum
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

+ Message Body +

+---------------------------------------------------------------+

Types of ICMPv6 messages

Message source address determination

A node that sends an ICMPv6 message has to determine both the Source and Destination IPv6 Addresses in the IPv6 header before calculating the checksum. If the node has more than one unicast address, it must choose the Source Address of the message as follows:
# If the message is a response to a message sent to one of the node's unicast addresses, the Source Address of the reply MUST be that same address.
# If the message is a response to a message sent to any other address, such as
#*a multicast group address,
#*an anycast address implemented by the node, or
#*a unicast address that does not belong to the node

the Source Address of the ICMPv6 packet MUST be a unicast address belonging to the node. The address SHOULD be chosen according to the rules that would be used to select the source address for any other packet originated by the node, given the destination address of the packet. However, it MAY be selected in an alternative way if this would lead to a more informative choice of address reachable from the destination of the ICMPv6 packet.

Message checksum calculation

The checksum is the 16-bit one's complement of the sum of the entire ICMPv6 message starting with the ICMPv6 message type field, prepended with a "pseudo-header" of IPv6 header fields, as specified in IPv6. The Next Header value used in the pseudo-header is 58. (NOTE: the inclusion of a pseudo-header in the ICMPv6 checksum is a change from IPv4; see IPv6 for the rationale for this change.) For computing the checksum, the checksum field is set to zero.

ICMPv6 message transmission

A node that forwards an ICMP message has to determine both the source and the destination IPv6 addresses for the ICMPv6 message. Particular care must be put into the choice of the source address. If a node has more than one unicast address, it must choose the source address of the message as follows:
* If the message is a response to a message sent to one of the node unicast addresses, the Source Address of the reply must be that same address.
* If the message is a response to a message sent to a multicast or anycast group to which the node belongs, the Source Address of the reply must be a unicast address belonging to the interface on which the multicast or anycast packet was received.
* If the message is a response to a message sent to an address that does not belong to the node, the Source Address should be the unichecking the error (for example, the unicast address belonging to the interface on which the packet forwarding failed).
* In other cases, the node routing tables must be examined to determine which interface will be used to transmit the message to its destination, and the unicast address belonging to that interface must be used as the Source Address of the message.

When an ICMPv6 node receives a packet, it must undertake actions that depend on the type of message. The ICMPv6 protocol must limit the number of error messages sent to the same destination to avoid network overloading. For example, if a node continues to forward erroneous packets, ICMP will signal the error to the first packet and then do so periodically, with a fixed minimum period or with a fixed network maximum load. An ICMP error message must never be sent in response to another ICMP error message.

ee also

* Internet Control Message Protocol (ICMP)

Further reading

* RFC 4443, "ICMPv6 for IPv6 Specification" (Supersedes RFC 2463 and RFC 1885)
* RFC 2894, "Router Renumbering for IPv6"

External links

* [http://www.iana.org/assignments/icmpv6-parameters IANA: ICMPv6 Parameters]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • ICMPv6 — (Internet Control Message Protocol Version 6) Familie: Internetprotokollfamilie Einsatzgebiet: Obligatorischer Zusatz zu IPv6, Fehlermeldungen, Diagnose, Autoconfiguration, Routing Internet Protokolle im TCP/IP Protokollstapel Internet ICMPv6 …   Deutsch Wikipedia

  • ICMPv6 — Название: Internet Control Message Protocol for the Internet Protocol Version 6 Уровень (по модели OSI): Сетевой Спецификация: RFC 4443 ICMPv6 (англ. Internet Control Message Protocol for the Internet Protocol Version 6  межсетевой… …   Википедия

  • ICMPv6 — Protocolo de Mensajes de Control de Internet Version 6 (ICMPv6 o ICMP para IPv6) es una nueva versión de ICMP y es una parte importante de la arquitectura IPv6 que debe estar completamente soportada por todas las implementaciones y nodos IPv6.… …   Wikipedia Español

  • ICMPv6 — Internet Control Message Protocol V6 L’ICMP pour IPv6 (Internet Control Message Protocol Version 6) fait partie à part entière de l architecture IPv6 et doit être complètement supportée par toutes les implémentations d IPv6. ICMPv6 combine des… …   Wikipédia en Français

  • ICMPv6 — Internet Control Message Protocol an IPv6 angepasstes verbindungsloses Schicht 3 Protokoll, definiert in RFC2463 …   Acronyms

  • ICMPv6 — Internet Control Message Protocol an IPv6 angepasstes verbindungsloses Schicht 3 Protokoll, definiert in RFC2463 …   Acronyms von A bis Z

  • ICMPV6 — abbr. Internet Control Message Protocol …   United dictionary of abbreviations and acronyms

  • Internet Control Message Protocol V6 — ICMPv6 (Internet Control Message Protocol Version 6) Familie: Internetprotokollfamilie Einsatzgebiet: Obligatorischer Zusatz zu IPv6, Fehlermeldungen, Diagnose, Autoconfiguration, Routing Internet Protokolle im TCP/IP Protokollstapel Internet… …   Deutsch Wikipedia

  • Internet Control Message Protocol V6 — L’ICMP pour IPv6 (Internet Control Message Protocol Version 6) fait partie à part entière de l architecture IPv6 et doit être complètement supportée par toutes les implémentations d IPv6. ICMPv6 combine des fonctions antérieurement subdivisées à… …   Wikipédia en Français

  • Duplicate Address Detection — IPv6 im TCP/IP‑Protokollstapel: Anwendung HTTP IMAP SMTP DNS … Transport TCP UDP …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”