You are on page 1of 44

Training Objectives

HUAWEI

Understandconceptandtechnologyofmulticast Master IGMP protocol and configuration Master PIM protocol and configuration

www.huawei.com

HUAWEI

Unicast,Broadcast and Multicast
Host

10.10.1.0/ 24 Unicast
Multicast Broadcast

Server

www.huawei.com

Comparision between Unicast and Multicast
HUAWEI

U n icast

M u lticast

www.huawei.com

Multimedia Conference
HUAWEI

Multimedia terminal

Internet

www.huawei.com

huawei.com .Data distribution HUAWEI File server Remote host Internet www.

huawei.com .Real-time Data Multicast HUAWEI Server Multimedia host Internet Football game Vocal Concert Stock exchange www.

huawei.HUAWEI Game and Emulational Application Player Internet www.com .

HUAWEI Characteristics of Multicast technology Increase efficiency.com . control network traffic and decrease the load of servers and CPUs Optimizeperformanceandeliminateredundanttraffic D istributed application.huawei. which makes multipoint transimmsion possible Advantages Disadvantages M u lticast application is based on UDP Do best efforts No congestion control Packet duplicate D isordered reaching of packets www.

huawei.255.1.0.255 www.239.255.255 User multicast addresses 224.255.0.0.239.255.238.0.0 .0 .255 Local management multicast addresses 239.com .0 .0.255 Reserved multicast addresses 224.Multicast Addresses HUAWEI Range of multicast addresses 224.255.0.255.0.0.0 .224.255.

com .huawei.MAC Multicast Addresses HUAWEI MAC Multicast addresses Ethernet : 01-00-5e-xx-xx-xx www.

com .HUAWEI Mapping IP Multicast to Ethernet www.huawei.

and if the packet is arrived at the interface that can return to the source end. packet will be discarded.huawei. RPF check is successful and the information packet is forwarded.Multicast Forwarding HUAWEI ReversePathForwarding(RPF) ForwardingmulticastpacketisnotbasedonthedestinationaddressofIPpacket but use RPFtocheckanddeterminewhethertoforwardordiscardtheincomingpacket. If RPF check fails. The check on multicast source address is achieved by querying unicast routing table www.com . ProcedureofRPFcheck The router checks the source address of the arrival multicast packet.

32 RPF check fails.0.Example:RPF Check HUAWEI Receiver ource 92.com .the packets arrive at an error interface Multicast Packet Multicast packets arriving at an error interface www.18.huawei.

com .18.Further View: RPF check fails HUAWEI Multicast data from 191.0/24 S0 15.huawei.253.0.32 S0 S1 RPF check fails Unicast routing table Network Interface 191. RPF check fails and the router discards the packet www.0/16 S2 S2 Data arrives at S0.0.0.0.15.18.0/16 S1 168.

15.0/16 S1 168.18.253.0.32 S0 S1 RPF check succeeds Unicast routing table Network Interface 191. the router forwards the packet www.0/16 S2 S2 Data arrives at S1.18.com .0.0/24 S0 15.huawei. RPF check succeeds.HUAWEI Further View: RPF check succeeds Multicast data from 191.0.0.

HUAWEI Forwarding multicast packet by switch without multicast function Multicast?? www.huawei.com .

huawei.HUAWEI Achieving Multicast in Layer 2 Switch Check the table Forwarding table 1 3 4 5 2 MAC address Interface 01-02-03 1 2 5 www.com .

com .huawei.txt defines the up-to-date IGMP V3 www.HUAWEI IGMP .Internet Group Management Protocol IGMP protocol is the only protocol between a host and a router RFC1112 defines IGMP V1 (support windows95) RFC2236 defines IGMP V2 (support windows and most of the newest service packets of Unix) Draft-ietf-idmr-igmp-v3-03.

com .HUAWEI Actions of a Router and a Host in IGMP response report routine query unsolicited report for joining group reportforleavinggroup group-specific query www.huawei.

10.0. stop sending query message : router fails.10.1/16 query message query message 10. stop sending query message : re-sendquerymessage www.huawei.HUAWEI Actions of Router in Shared Network in IGMP 10.com .3/16 : Election fails.0.

www.com .Report Suppression Process HUAWEI Query message Response report Response report Response report Response report Routersendsqueryperiodically O n lyonememberofeachgroupinthesubnetsendsresponsereport O thermembersaresuppressedanddon'tsendreport.huawei.

huawei.com .IGMP V2 Packet Format HUAWEI www.

huawei.HUAWEI Comparision Among Three IGMP Versions IGMP V1 Querier election based on routing protocol leave silently none IGMP V2 self election IGMP V3 self election leaving type Designated group query actively send leaving packet yes none actively send leaving packet yes yes Designated source none and group joining www.com .

HUAWEI Compatibility Processing between IGMP V1 and V2 V1 Host v2 Host V1 Router V2 Router V1 Host V1host report suppresses V2 host V2host is suppressed by V1host report V2 frame format is compatible with v1 Router works in v1 till V1 timer out of time V2 router is forced to configure as v1 V2 frame format is compatible with v1 Router works in V1 V2 Host V1 Router V2 router is forced to configure as v1 V2 Router www.huawei.com .

huawei.com .HUAWEI IGMP Snooping Establish and Maintenance Group IGMP report 1 CPU forwarding table MAC address interface 01-02-03 0135 0 IGMP query 2 3 4 5 www.

1 Specify IGMP version number Quidway ( config-vlan-interface0 ) #ip igmp version 1 Display IGMP interface information Quidway#show ip igmp interface ethernet 0 www.Configuration Commands HUAWEI Configuration on the Router Start multicast application Quidway ( config ) #ip multicast-routing Emulate host behavior .1.join a group Quidway ( config-Vlan-interface0 ) #ip igmp join-group 224.1.com .huawei.

sparse mode (PIM-SM)(RFC 2362) Multicast of shortest path first (MOSPF) (RFC 1584) Others (Core-based trees mulitcast routing protocol. <CBTv2><RFC2189>.huawei.com . etc.HUAWEI Multicast Routing Protocol Overview DVMRP V#(Distance Vector Multicast Routing Protocol (Internet Draft) Protocol Independent Multicast . ) www.Dense Mode (PIM-DM)(Internet Draft) Protocol Independent Multicast .

0.13 PIM protocol is divided into: PIM_DM (Protocol Independent Multicast Dense Mode) PIM_SM (Protocol Independent Multicast Sparse Mode) www.HUAWEI Protocol Independent Multicast .0.com .PIM PIM (Protocol Independent Multicast) is independent of unicast protocol (use any unicast route)anddependsonunicastprotocoltoperformRPFcheck UDP port number: 103 PIM router group address: 224.huawei.

32 Multicast dataflow www.com .PIM_DM Forwarding HUAWEI Receiver ource 92.18.huawei.0.

32 Multicat dataflow Prune message Stop sending multicast dataflow www.huawei.PIM_DM Pruning HUAWEI Receiver ource 192.0.18.com .

HUAWEI PIM_DM Grafting and Grafting Response Receiver ource 192.0.huawei.32 Multicast data flow Graft message Grafting response IGMP join group www.18.com .

PIM_DM Status Maintenance HUAWEI Receiver ource 192.com .huawei.32 Multicast dataflow www.18.0.

10.1/16 10.0.Assert Mechanism HUAWEI Source S 10.10.3/16 multicast dataflow Assert message www.0.com .huawei.

Neighbor-Finding Mechanism HUAWEI Periodically send Hello Packet . establish and maintain neighborhood Elect DR——the router with highest IP address becomes DR of this network segment when IGMP is version 1. DR also acts as IGMP querier Hello message Hello message www.huawei.find neighbor.com .

com .huawei.HUAWEI PIM-DM Configuration Commands Configuration on Layer 3 switch Start mulitcast process Quidway(Config)#ip multicast-routing Start PIM-DM process at the interface Quidway(config-VLAN-Interface2)#ip pim dense-mode www.

Configuration Example HUAWEI Video Server Backbone network with PIM-DM Accesslayer Multi-Media PC www.huawei.com .

huawei.com .0.HUAWEI PIM_SM Forwarding and Joining RP/DR DR Receiver Source 192.32 Multicast dataflow joining message IGMP joining www.18.

huawei.18.PIM_SM Pruning HUAWEI RP/DR Source 92.0.32 DR Receiver Multicast dataflow Prune message Stop sending multicast dataflow IGMP leaving www.com .

huawei.PIM_SM Status Maintenance HUAWEI DR Source 192.0.com .18.32 RP DR Joining message www.

0.com .huawei.HUAWEI PIM_SM Registration and Registration Stop DR Registration RP DR receiver ource 92.18.32 Registration stop Multicast dataflow Unicast registration message Unicast registration stop message www.

32 RP Receiver O h .0.18.0.com .32 T h isisSPT! DR Source 192.RPT! Multicast dataflow www.18.huawei.HUAWEI Multicast Distribution Tree Model DR DR Receiver Source 2.

huawei.18.com .Shortest Path Tree Switch HUAWEI DR Source 192.0.32 RP DR Receiver Multicast dataflow Stop sending multicast dataflow SPT joining SPT grafting www.

Configuration on the Router HUAWEI Start mulitcast process Quidway(config)#ip multicast-routing Start PIM-SM at the inteface Quidway(config-vlan-interface0)#ip pim Sparse-mode www.com .huawei.

HUAWEI PIM_SM Configuration Example C-RP、 C-BSR Video Server Backbone network with PIM-SM Access Layer Multi-Media PC www.com .huawei.