Network Working Group YZX. Yang Internet-Draft 22 November 2026 Intended status: Informational Expires: 26 May 2027 Reading Ethernet Multicast Addresses in IPv4 and IPv6 Packet Traces draft-yang-multicast-mac-examples-00 Abstract 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. Status of This Memo 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 Notice 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. Yang Expires 26 May 2027 [Page 1] Internet-Draft Multicast MAC Examples November 2026 Table of Contents 1. Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2. IPv4 Example: A Bit Discarded Within an Octet . . . . . . . . 2 3. IPv6 Example: The Last Four Octets . . . . . . . . . . . . . 3 4. Interpreting a Trace . . . . . . . . . . . . . . . . . . . . 3 5. Security Considerations . . . . . . . . . . . . . . . . . . . 3 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 7. Informative References . . . . . . . . . . . . . . . . . . . 4 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 4 1. Scope 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. 2. IPv4 Example: A Bit Discarded Within an Octet 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 | +------------------+----------------------+ Table 1: IPv4 Inputs and Expected Ethernet Destinations Yang Expires 26 May 2027 [Page 2] Internet-Draft Multicast MAC Examples November 2026 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. 3. IPv6 Example: The Last Four Octets 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 | +------------------+----------------------+ Table 2: IPv6 Inputs and Expected Ethernet Destinations 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. 4. Interpreting a Trace 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. 5. Security Considerations 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. Yang Expires 26 May 2027 [Page 3] Internet-Draft Multicast MAC Examples November 2026 6. IANA Considerations This document requests no IANA actions. 7. Informative References [RFC1112] Deering, S., "Host Extensions for IP Multicasting", RFC 1112, DOI 10.17487/RFC1112, August 1989, . [RFC2464] Crawford, M., "Transmission of IPv6 Packets over Ethernet Networks", RFC 2464, DOI 10.17487/RFC2464, December 1998, . [RFC6085] Gundavelli, S., Townsley, M., Troan, O., and W. Dec, "Address Mapping of IPv6 Multicast Packets on Ethernet", RFC 6085, DOI 10.17487/RFC6085, January 2011, . Author's Address Yang ZhiXiong Email: author@example.org Yang Expires 26 May 2027 [Page 4]