| Internet-Draft | Multicast MAC Examples | November 2026 |
| Yang | Expires 26 May 2027 | [Page] |
A packet trace may show the same Ethernet destination address for two packets sent to different IP multicast groups. This note gives worked IPv4 and IPv6 examples for readers interpreting such traces. For each address family, one pair of inputs differs in a bit that the Ethernet mapping discards. A third input differs in a bit that the mapping retains. The examples exercise existing mapping rules.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 26 May 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Consider two packets observed on the same Ethernet link. A reader wants to determine whether they were sent to the same IP multicast group. The destination MAC address provides a quick consistency check. To identify the group, the reader also needs the destination address in the IP header.¶
The examples below are calculated header values for ordinary multicast Ethernet delivery. [RFC6085] describes circumstances in which an IPv6 multicast packet can instead be sent to a unicast link-layer address. Such frames fall outside the worked examples.¶
Section 6.4 of [RFC1112] specifies the Ethernet mapping. Begin with 01:00:5e. Clear the high bit of the second IPv4 octet, then append that octet and the final two IPv4 octets. In the first row below, decimal 215 is hexadecimal d7. Clearing its high bit gives hexadecimal 57.¶
| IPv4 destination | Ethernet destination |
|---|---|
| 224.215.168.211 | 01:00:5e:57:a8:d3 |
| 224.87.168.211 | 01:00:5e:57:a8:d3 |
| 224.87.168.210 | 01:00:5e:57:a8:d2 |
Between the first two rows, only the high bit of the second IP octet changes. Both packets have the same Ethernet destination. Between the second and third rows, the low bit of the last octet changes. That bit appears in both the IP and Ethernet destinations.¶
Section 7 of [RFC2464] specifies the Ethernet multicast mapping for IPv6. Begin with 33:33 and append the last four octets of the expanded IPv6 destination. For ff12::1234 those four octets are 00:00:12:34.¶
| IPv6 destination | Ethernet destination |
|---|---|
| ff12::1234 | 33:33:00:00:12:34 |
| ff12::1:0:1234 | 33:33:00:00:12:34 |
| ff12::1:0:1235 | 33:33:00:00:12:35 |
To compare the first two rows, expand the addresses before counting octets. The extra 1 in ff12::1:0:1234 falls in the third 16-bit group from the right, outside the 32 bits used for the MAC address. In the third row, changing 1234 to 1235 changes the last bit inside those 32 bits, so the Ethernet destination changes too.¶
Record the Ethernet destination and the IP destination from the same frame. Compute the expected Ethernet destination from the IP address. If two frames have the same expected value, compare their full IP destinations before counting them as traffic for one group. Grouping a trace by destination MAC alone would merge the first two IPv4 rows in Table 1 into a single count.¶
A filter that permits traffic for a particular destination MAC address can also admit traffic for other multicast IP addresses with the same mapping. A policy that distinguishes destination groups therefore needs to inspect the IP destination as well.¶
This document requests no IANA actions.¶