Figure 45 Network diagram for PIM-DM configuration
Device
Router A
Router B
Router C
Procedure
Configure IP addresses and unicast routing
1.
Configure the IP address and subnet mask for each interface as per
steps are omitted here.
Configure OSPF on the routers in the PIM-DM domain to ensure network-layer reachability among them.
Detailed configuration steps are omitted here.
Enable IP multicast routing, and enable PIM-DM and IGMP
2.
# Enable IP multicast routing on Router A, enable PIM-DM on each interface, and enable IGMP on
GigabitEthernet 0/0/0, which connects Router A to N1.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface GigabitEthernet 0/0/0
[RouterA-GigabitEthernet0/0/0] igmp enable
[RouterA-GigabitEthernet0/0/0] pim dm
[RouterA-GigabitEthernet0/0/0] quit
[RouterA] interface GigabitEthernet 0/0/3
Interface
IP address
GE0/0/0
10.110.1.1/24
GE0/0/3
192.168.1.1/24
GE0/0/0
10.110.2.1/24
GE0/0/1
192.168.2.1/24
GE0/0/0
10.110.2.2/24
GE0/0/1
192.168.3.1/24
Device
Interface
Router D
GE0/0/0
GE0/0/3
GE0/0/1
GE0/0/2
137
IP address
10.110.5.1/24
192.168.1.2/24
192.168.2.2/24
192.168.3.2/24
Figure
45. Detailed configuration