Control, diagnostics and errors
ICMPv6 is carried in IPv6 with Next Header 58. Its messages have Type, Code, Checksum and message-specific data. Error message types are below 128; informational types are 128 and above. It supports more than ping: it underpins Neighbor Discovery, router discovery and multicast membership. Functions performed separately by ARP and IGMP in IPv4 move into the IPv6 control architecture.
| Message | Type | Purpose |
|---|---|---|
| Destination Unreachable | 1 | Delivery failure; Code gives a more specific reason |
| Packet Too Big | 2 | Report an outgoing-link MTU constraint |
| Time Exceeded | 3 | Hop Limit expiry or reassembly timeout |
| Parameter Problem | 4 | Invalid/unprocessable header information |
| Echo Request / Reply | 128 / 129 | Ping diagnostics |
| Router Solicitation / Advertisement | 133 / 134 | Request/announce router and configuration information |
| Neighbor Solicitation / Advertisement | 135 / 136 | Neighbor resolution and related discovery functions |
| Redirect | 137 | Inform a host about a better first hop for a destination |
Redirect example
Before: Laptop -> Router A -> Router B -> Destination
After: Laptop ------------> Router B -> DestinationRouter A can advise the host to use Router B directly if B is an appropriate on-link next hop. A redirect can also identify the destination itself as on-link. This changes next-hop knowledge for the destination, rather than replacing general RA-based configuration. This diagram is added explanation.
Multicast Listener Discovery
MLD tells multicast routers whether an attached link has interested receivers for a group. Multicast routing protocols perform the separate job of finding forwarding paths between routers/networks.
The source introduces MLDv1:
| Message | Type | Role |
|---|---|---|
| Listener Query | 130 | Router asks about local membership |
| Listener Report | 131 | Receiver reports group interest |
| Listener Done | 132 | Departure signal; router can check for remaining listeners |
General queries use ff02::1. Version-specific destination rules matter: MLDv1 reports are sent to the reported multicast group; Done is sent to ff02::2. The source’s statement that reports go to all routers should not be copied as a general rule. Other MLD versions differ, so the v1 table is not an exhaustive modern message list.
If A and B listen to group G and A leaves, forwarding must continue while B is still interested. Routers need group presence on an attached link; this is not necessarily a permanent complete list of all individual receivers.
A switch implementing MLD snooping can observe membership traffic and select ports for multicast delivery. Without suitable filtering it may forward more broadly. A multicast MAC is a group destination, not a list of receiver MACs and not a security boundary.
Source and related
Lecture 03 - IPv6, PDF pages 65-74 and 91-93. Version distinctions, scenario and diagrams are added study clarification.
MLDv1 destination correction checked against RFC 2710, section 4.