182
Figure 63 Network diagram
Table 14 Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
Source 1
—
10.110.5.100/24
Switch C Vlan-int101
192.168.1.2/24
Source 2
—
10.110.6.100/24
Switch C Vlan-int102
192.168.2.2/24
Switch A
Vlan-int300
10.110.5.1/24
Switch D Vlan-int200
10.110.3.1/24
Switch A
Vlan-int103
10.110.2.2/24
Switch D Vlan-int104
10.110.4.1/24
Switch B
Vlan-int100
10.110.1.1/24
Switch D Vlan-int102
192.168.2.1/24
Switch B
Vlan-int103
10.110.2.1/24
Switch D Loop0
2.2.2.2/32
Switch B
Vlan-int101
192.168.1.1/24
Switch D Loop10
4.4.4.4/32
Switch B
Loop0
1.1.1.1/32
Switch D Loop20
10.1.1.1/32
Switch B
Loop10
3.3.3.3/32
Switch E Vlan-int400
10.110.6.1/24
Switch B
Loop20
10.1.1.1/32
Switch E Vlan-int104
10.110.4.2/24
Configuration procedure
1.
Assign an IP address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPF on the switches. (Details not shown.)
3.
Enable IP multicast routing, IGMP, and PIM-SM:
# On Switch B, enable IP multicast routing.
<SwitchB> system-view
[SwitchB] multicast routing
[SwitchB-mrib] quit
# Enable IGMP on the receiver-side interface (VLAN-interface 100).
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] igmp enable
Loop10
Loop0
Loop20
Loop10
Loop20
Loop0
Receiver
Source 1
Switch A
Switch B
Switch C
Switch D
Switch E
Vlan-int101
Vlan-int101
Vlan-int102
Vlan-int102
Vlan-int100
Vlan-int103
Vlan-int103
Vlan-int104
Vlan-int104
Vlan-int200
Receiver
Source 2
PIM-SM
MSDP peers
Vlan-int300
Vlan-int400
Host A
Host B