Mapping IPv4 Multicast IP to Ethernet MAC Address

H12-821 By islever Editorial Last updated

IP Multicast Basics

Short answer

C The corresponding multicast MAC address is 01-00-5E-00-01-01, derived from the lower 23 bits of the IPv4 multicast group 224.0.1.1 mapped to the IEEE 802 standard prefix.

Question

When IPv4 unicast packets are transmitted over Ethernet, their destination MAC address is also a multicast MAC address. If the IP address of a multicast group is 224.0.1.1, which of the following is the corresponding multicast MAC address?
  1. 01-00-5е-01-01-00
  2. 01-00-5е-00-01-00
  3. 01-00-5е-00-01-01 Correct Answer
  4. 01-00-5е-01-01-01

Key Takeaways

IPv4 multicast MACs use a fixed 24-bit prefix (01-00-5E) and map only the lower 23 bits of the IP address, discarding the top 5 bits of the IP.

Determine the Ethernet MAC address for IPv4 multicast group 224.0.1.1 using the standard 23-bit mapping algorithm. The correct MAC address is 01-00-5E-00-01-01.

Common mistake: Option B (01-00-5E-00-01-00) is wrong because it fails to include the last bit of the IP address (the host portion .1). Option A uses an incorrect intermediate byte due to misalignment of the 23-bit boundary.

Expert Analysis

The mapping of IPv4 multicast addresses to Ethernet MAC addresses follows a standardized algorithm defined in RFC 1112. To convert an IP multicast address into a MAC address, the first 24 bits of the MAC are fixed as 01-00-5E, followed by a zero bit in the most significant position of the 25th bit (making it a valid unicast prefix for the lower half), and finally the lower 23 bits of the IPv4 multicast address.

First, examine the destination IP address: 224.0.1.1. In binary, this is: 11100000.00000000.00000001.00000001

Next, extract the lower 23 bits of this IP address. The first 5 bits (11100) are ignored because they correspond to the 224.x.x.x range which maps to the fixed 01-00-5E prefix. The remaining bits are:

  • Bit 6-8 of Octet 2: 000 (from 00000000)
  • All 8 bits of Octet 3: 00000001
  • All 8 bits of Octet 4: 00000001

Combining these yields the lower 24 bits of the MAC address (ignoring the leading zero): 00000000.00000001.00000001. Converting this to hexadecimal gives 00-01-01.

Appending this to the fixed prefix 01-00-5E results in the final MAC address: 01-00-5E-00-01-01. This matches Option C. A common trap is to incorrectly map all octets or ignore the 23-bit truncation rule, leading to incorrect hex values like those in options A, B, or D.

Official Reference

https://www.rfc-editor.org/rfc/rfc1112

This link opens the official vendor documentation in a new tab.

Exam Strategy

When dealing with multicast MAC addresses, always remember the 23-bit truncation rule. Write down the IP in binary, cross out the first 5 bits, and take the remaining 23 bits. Convert these directly to hex for the last three bytes of the MAC. Do not attempt to map full octets; the boundary often splits an octet.

Frequently Asked Questions

Why are only 23 bits of the IP address used?

Ethernet has 48-bit MAC addresses. The first 24 bits are reserved for multicast prefixes (01-00-5E). Only 23 bits remain for the IP address because one bit must be set to 0 to ensure the MAC remains a locally administered unicast-looking address structure, though technically it's just part of the 24-byte payload space.

Does every IPv4 multicast IP have a unique MAC?

No. Since there are 32 possible multicast IPs but only ~8 million unique MACs available for this mapping, multiple IP addresses can map to the same MAC address. This is why switches may receive traffic for groups they haven't explicitly joined if they rely solely on MAC filtering.

More H12-821 FAQ →

Community Votes

C
100%

100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 1 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 1

  1. HCIP Resolutor 👍 1 Answered C
    Los últimos 3 octetos de 224.0.1.1 son 0.1.1 (00000000.00000001.00000001). Tomamos los últimos 23 bits (el bit más a la izquierda del segundo octeto se ignora): Octeto 2 (parcial, 7 bits): 0000000 = Hex: 00 Octeto 3 (8 bits): 00000001 = Hex: 01 Octeto 4 (8 bits): 00000001 = Hex: 01 01-00-5E + 00-01-01 = 01-00-5E-00-01-01

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All H12-821 Questions

Access 168 questions with complete answers and detailed explanations.

View Full H12-821 Practice Test →

← Back to H12-821 Study Guide