Home » Cisco » IP Multicast addresses to Ethernet Addresses

IP Multicast addresses to Ethernet Addresses

Categories

 

For mapping IP Multicast addresses to Ethernet Addresses the lower 23 bits of a Class D IP Address are copied to one of the IANA Designated Ethernet Addresses

Ethernet addresses reserved fotr this purpose are in the range of 01:00:53:00:00:00 through 01:00:5e:7f:ff:ff

Ethernet Addresses have a 48 bit address filed (Source and Destination 48 bits each one)

Expressed in hexadecimal numbering, the first 24 bits of an Ethernet multicast address are 01:00:5e, this indicates the frame as multicast , the next bit in the ethernet address is always 0, leaving 23 bit for the multicast address, because IP Multicast groups are 28 bits (1110XXXX XXXXXXXX XXXXXXXX XXXXXXXX) long and there are only 23 bits available the mapping cannot be one to one, so only 23 low order bits of the multicast group ID are mapped onto the ethernet address. The 5 higg order bit remain in the multicast group are ignored.

With this mapping, each Ethernet Multicast address correspings to 32 different IP Multicast Addresses (2^5)
This means that a host in one multicast group may have to filter out multicast that are intended for other groups sharing the same ehthernet address.
An example

Having the following IP Multicast Address 224.192.16.1 convert it to the appropriate Ethernet MAC Representation.

224.     192.      16.       1
11100000.11000000.00010000.00000001

Multicast Ehternet
0100.5e
00010000.01011110.0XXXXXXX.XXXXXXXX.XXXXXXXX
11100000.11000000.00010000.00000001

Final=
00010000.0101 1110.0100 0000.0001 0000.0000 0001
01   00   5    E    4    0    1    0    0   1

0100:5E40:1001

Verification

R1(config-if)#ip igmp join 224.192.16.1
R1(config-if)#
Sw1#show mac-address-table multicast
Vlan    Mac Address       Type       Ports
—-    ———–       —-       —–
1    0100.5e40.1001    IGMP       Fa0/1

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: