Specifications
How Do I Implement Multicast?
April 16, 2009 Page 2 of 32
How Do I Implement Multicast?
YoucanimplementtheIGMP,DVMRP,andPIMmulticastprotocolsonEnterasysdevicesusing
simpleCLIcommandsasdesc ribedinthisdocument.Abasicconfigurationprocessinvolvesthe
followingtasks:
1. ConfiguringtheVLANsandIPinterfacesonwhichyouwanttotransmitmulticast.
2. Enablingthemulticastprotocol(s)onconfiguredinterfaces.
ForPIM,
youmustalsoconfigureaunicastroutingprotocol,suchasOSPF.
Understanding Multicast
Asdescribedinthe precedingoverview, multicastallowsasourcetosendasinglecopyofdata
usingasingleIP addressfromawell‐definedrangeforanentiregroupofrecipients(amulticast
group).AsourcesendsdatatoamulticastgroupbysimplysettingthedestinationIPaddress
of
thedatagramtobethemulticastgroupaddress.Sourcesdonotneedtoregisterinanywaybefore
theycanbeginsendingdatatoagroup,anddonotneedtobemembersofthegroupthemselves.
Routersbetweenthesourceandrecipientsusethegroupaddresstoroute
thedata,forwarding
duplicatedatapacketsonlywhenthepathtorecipientsdiverges.
Hoststhatwishtoreceivedatafromthemulticastgroupjointhegroupbysendingamessagetoa
multicastrouteronalocalinterface,usingamulticastgroupmembership discoveryprotocol,such
asIGMP.Formoreinformation,
seeInternetGroupManagementProtocol(IGMP)onpage2.
Multicastrouterscommunicateamongthemselvesusingamulticastroutingprotocol, suchas
DVMRPorPIM‐SM.Theseprotocolscalculateamulticastdistributiontreeofrecipientstoensure
that:
•multicasttrafficreachesallrecipientsthathavejoinedthemulticastgroup
•multicasttrafficdoesnot
reachnetworksthatdonothaveanysuchrecipients(unlessthe
networkisatransitnetworkonthewaytootherrecipients)
•thenumberofidenticalcopiesofthesamedataflowingoverthesamelinkisminimized.
Formoreinformation,seeDistanceVectorMulticastRoutingProtocol(DVMRP)onpage5and
ProtocolIndependentMulticast(PIM)onpage10.
Internet Group Management Protocol(IGMP)
Overview
Groupmembershipmanagementisfundamentaltothemulticastingprocess.Anarbitrarygroup
ofreceiverscanexpressinterestinreceivingaparticularmulticaststream,regardlessofthe
physicalorgeographicalboundariesofitsmembers.
ThepurposeofIPmulticastgroupmanagementistooptimizeaswitchednetwork’sperformance
somulticastpacketswill
onlybeforwardedtothoseportscontainingmulticastgrouphostsor
multicastswitchdevicesinsteadoffloodingtoallportsinthesubnet(VLAN).