IP MulticastAddressing and Protocols IP Multicast StubRouting in AOS
6 Copyright© 2005 ADTRAN, Inc. 61200890L1-29.3A
IP Multicast Addressing and Protocols
Multicast Addressing
The IPV4 address scheme (layer 3) sets as ide Class D addresses for use in IP m ulticast. RFC1112 discusses
multicast addressing in detail. The Class D rang e is from 224.0.0.0 through 239.255.255.255. The ra nge
from 224.0.0.0 through 224.0.0.255 is reserved for l ocal administrative or maintenance use and is usually
limited to the scope of asin glesubnet. In other words, processeso ndev icesconne ctedto the same
segment use these addresses to communicate with each other.
Examples in this range include:
Theall-hosts address (224.0.0.1)
Theall-routers address (224.0.0.2)
Routing protocols such as RIP V2 (224.0.0.9) and OS PF (224.0.0.5 and 6)
MulticastIP routing protocols such as DVMRP (224.0.0.4)and PIM (224.0.0.13)
Therange from 224.0.1.0 through239.255.255.255 is used for IP multicastwhere a source sends content to
multiple receivers via a multicast-enabled network, as this document describes.
For layer 2, a specific range of ethernet addresses for IP multicast use has been set aside
(01-00-5E-xx-xx-xx). RFC1112discusses the technique used to map IP layer 3 multicast addresses into
Ethernet layer 2 multicast addresses. Use of layer 2 multicast addresses is critical to network performance
since it allows a device’snetwork interfa ceto listen for a specific set of addresses in hard ware instead of
having to listento all a ddressesand sort through them in software.
The benefit of using a multicast address instead of a broadcast address is that only devices running a
process that uses a given multicast address need listen for the address. Other devicesar e not interrupted
when a multicast address is transmitted.With broadcast addressing, all attached devices are interrupted to
listen to a broadcast packet, whether they need it orn ot.
All devices that wish to receive the same IP multicast content are referred to as a group. The multicast IP
address that a specific content is being sent to is referred to as the group address.
IGMP – Internet Group Management Protocol
The IGMP protocol allows a device to notify ad irectly-connected multicast routert hati twishes to join a
specific group and therefore receive packets sent to that group address. It also allows a router to query
attached segments (subnets) to determine whether any group members remain. If no remaining group
members are detected, streams to that group are no longer forwarded to that segment. In IGMP V1, when a
device wishes to leave a group, it ceases to respond to the router’s query.When no devices respond on a
givens egment, the router stops forwarding that group to that segment. This causes some lag timeb etween
when the last device stops needing a stream and when the router stops sending the stream. Toreduce this
lag timeand make better use of network resources,IGMP V2 introduced a specific leave messageand
process that expedites termination of a stream to an interface when the last member leaves.
Multicast Routing Protocols
Multicast routing is a complex topic, and its details are beyond the scope of this document. To summarize,
whereasI GMP is typically used by an end device to signal a directly-connected router that it wishes to join
a specific multicast group, a multicast routingprotocol allows a router to pass this information on to other