PIM-DM
PIM-DM

AR1

dhcp enable

multicast routing-enable //启用主播

interface GigabitEthernet0/0/0
ip address 192.168.10.254 255.255.255.0
pim dm //配置为密集模式
dhcp select interface

interface GigabitEthernet0/0/1
ip address 12.12.12.1 255.255.255.0
pim dm

ip route-static 192.168.10.0 255.255.255.0 12.12.12.2

AR2

multicast routing-enable

interface GigabitEthernet0/0/0
ip address 172.16.10.254 255.255.255.0
igmp enable
dhcp select interface

interface GigabitEthernet0/0/1
ip address 12.12.12.2 255.255.255.0
pim dm

ip route-static 0.0.0.0 0.0.0.0 12.12.12.1

验证:
PIM-DM