Mac Address For Multicast Ip Address



This video walks through the steps of converting an IPv4 multicast address to the corresponding MAC address. This means that if the high-bandwidth software download is being transmitted on multicast IP address 224.1.2.3 and you are subscribed to a streaming video feed on multicast IP address 237.129.2.3 (which maps to the same MAC address), you are going to be swamped with the download traffic as well as your video feed. This MAC address is congruent with both these multicast IP addresses, so if 2960 and 3560 based their forwarding on MAC addresses, the host subscribed for 239.113.114.115 would be receiving even the stream to 239.241.114.115. However, the receiver did not receive any multicast packets of this stream. The last 23 bits are used for Multicast MAC Address. And the remainning 5 bits in the middle can be any value. So, 2^5, you can create 32 different IP address with this changable area. For our examples, the Multicast IP addresses that share the same Multicast MAC Address is showed below. Here, with the 5th, 6th, 7th, 8th and 9th bits, 32.

The TCP/IP Guide
9TCP/IP Lower-Layer (Interface, Internet and Transport) Protocols (OSI Layers 2, 3 and 4)
9TCP/IP Network Interface / Internet 'Layer Connection' Protocols
9Address Resolution and the TCP/IP Address Resolution Protocol (ARP)

Multicast MAC address. Multicast MAC address represents a group of devices (or NICs in Layer 2). The IEEE has reserved the OUI 01-00-5E (first 3-bytes or 24 bits) for the multicast MAC addresses. The remaining 24 bits are set by the network application or device that wants to send data in the group. A multicast MAC address always starts with.

Multicast
Proxy ARP
1
2
TCP/IP Address Resolution For IP Version 6

TCP/IP Address Resolution For IP Multicast Addresses

Mac Address For Multicast Ip Address Format

(Page 1 of 2)

Like most discussions of address resolution, the preceding sections all focus on unicast communication, where a datagram is sent from one source device to one destination device. Whether direct mapping or dynamic resolution is used for resolving a network layer address, it is a relatively simple matter to resolve addresses when there is only one intended recipient of the datagram. TCP/IP uses ARP for its dynamic resolution scheme, which is designed for unicast resolution only.

However, the Internet Protocol also supports multicasting of datagrams, as I explain in the topics on IP multicasting and IP multicast addressing. In this situation, the datagram must be sent to multiple recipients, which complicates matters considerably. We need to establish a relationship of some sort between the IP multicast group address and the addresses of the devices at the data link layer. We could do this by converting the IP multicast datagram to individual unicast transmissions at the data link layer, each using ARP for resolution, but this would be horribly inefficient.

Direct Mapping Technique for IEEE 802 Multicast MAC Addresses

When possible, IP makes use of the multicast addressing and delivery capabilities of the underlying network to deliver multicast datagrams on a physical network. Perhaps surprisingly, even though ARP employs dynamic resolution, multicast address resolution is done using a version of the direct mapping technique. By defining a mapping between IP multicast groups and data link layer multicast groups we enable physical devices to know when to pay attention to multicasted datagrams.

Mac Address For Multicast Ip Address Ip

Mac address for multicast ip address ip

The most commonly used multicast-capable data link addressing scheme is the IEEE 802 addressing system best known for it use in Ethernet networks. These data link layer addresses have 48 bits, arranged into two blocks of 24. The upper 24 bits are arranged into a block called the organizationally unique identifier (OUI), with different values assigned to individual organizations; the lower 24 bits are then used for specific devices.

The Internet Assigned Number Authority (IANA) itself has an OUI that it uses for mapping multicast addresses to IEEE 802 addresses. This OUI is '01:00:5E'. To form a mapping for Ethernet, 24 bits are used for this OUI and the 25th (of the 48) is always zero. This leaves 23 bits of the original 48 to encode the multicast address. To do the mapping, the lower-order 23 bits of the multicast address are used as the last 23 bits of the Ethernet address starting with '01:00:5E' for sending the multicast message. This process is illustrated in Figure 51.


Figure 51: Mapping of Multicast IP Addresses to IEEE 802 Multicast MAC Addresses

IP multicast addresses consist of the bit string “1110” followed by a 28-bit multicast group address. To create a 48-bit multicast IEEE 802 (Ethernet) address, the top 24 bits are filled in with the IANA’s multicast OUI, 01-00-5E, the 25th bit is zero, and the bottom 23 bits of the multicast group are put into the bottom 23 bits of the MAC address. This leaves 5 bits (shown in pink) that are not mapped to the MAC address, meaning that 32 different IP addresses may have the same mapped multicast MAC address.


Key Concept: IP multicast addresses are resolved to IEEE 802 (Ethernet) MAC addresses using a direct mapping technique that uses 23 of the 28 bits in the IP multicast group address.


Proxy ARP
1
2
TCP/IP Address Resolution For IP Version 6

Mac Address For Multicast Ip Addresses


Multicast
If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!


Home - Table Of Contents - Contact Us
The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005
© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.