MLD, Multicast Listener Discovery |
Description | Glossary | RFCs | Publications | Obsolete RFCs |
Protocol suite: | TCP/IP. |
Type: | Transport layer control protocol. |
Multicast addresses: | FF02:0:0:0:0:0:0:16 (all MLDv2-capable routers). |
IP Protocol: | 58. |
Base protocol: | ICMPv6, Internet Control Message Protocol for IPv6. |
Related protocols: | SEND, SEcure Neighbor Discovery. |
SNMP MIBs: | iso.org.dod.internet.mgmt.mib-2.mldMIB (1.3.6.1.2.1.91). |
Working groups: | |
Links: |
The purpose of this protocol is to enable each IPv6 router to discover the presence of multicast listeners on its directly attached links and to determine specifically which multicast addresses are of interest to those nodes.
MAC header | IPv6 header | MLD header | Data ::: |
MLD header:
(RFC 2710)
All MLD messages are sent with a link-local IPv6 Source Address, an IPv6 Hop Limit of 1, and an IPv6 Router Alert option in a Hop-by-Hop Options header.
The Router Alert option is necessary to cause routers to examine MLD messages sent to multicast addresses in which the routers themselves have no interest.
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Code | Checksum | |||||||||||||||||||||||||||||
Maximum Response Delay | reserved | ||||||||||||||||||||||||||||||
Multicast Address ::: |
Type.
8 bits.
Specifies the format of the MLD message.
Type | Description |
---|---|
130 | Multicast Listener Query. |
131 | Multicast Listener Report. |
132 | Multicast Listener Done. |
143 | MLDv2 Multicast Listener Report. |
Code.
8 bits.
Further qualifies the MLD message.
Cleared to zero by the sender; ignored by receivers.
Checksum.
16 bits.
Checksum that covers the MLD message.
The checksum is the 16-bit one's complement of the one's complement sum of the entire MLD message starting with the MLD message
type field, prepended with a pseudo-header of IPv6 header fields.
The pseudo-header contains the following fields:
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Source IPv6 address ::: | |||||||||||||||||||||||||||||||
Destination IPv6 address ::: | |||||||||||||||||||||||||||||||
Upper layer packet length | |||||||||||||||||||||||||||||||
0 | Next header |
Maximum Response Delay.
16 bits.
(RFC 2710)
This field is meaningful only in Query messages, and specifies the
maximum allowed delay before sending a responding Report, in units of milliseconds.
In all other messages, it is set to zero by the sender and ignored by receivers.
Varying this value allows the routers to tune the "leave
latency" (the time between the moment the last node on a link ceases
listening to a particular multicast address and moment the routing protocol is notified that there are no longer any listeners for that address).
It also allows tuning of the burstiness of MLD traffic on a link.
reserved.
16 bits.
Cleared to zero by the sender and ignored by receivers.
Multicast Address.
128 bits.
(RFC 2710)
In a Query message, the Multicast Address field is cleared to zero when
sending a General Query, and set to a specific IPv6 multicast address when sending a Multicast-Address-Specific Query.
In a Report or Done message, the Multicast Address field holds a specific IPv6 multicast address to which the
message sender is listening or is ceasing to listen, respectively.
RFCs:
[RFC 2710] Multicast Listener Discovery (MLD) for IPv6.
[RFC 3019] IP Version 6 Management Information Base for The Multicast Listener Discovery Protocol.
[RFC 3590] Source Address Selection for the Multicast Listener Discovery (MLD) Protocol.
[RFC 3810] Multicast Listener Discovery Version 2 (MLDv2) for IPv6.
Description | Glossary | RFCs | Publications | Obsolete RFCs |