#lab Multi1# PIM Dense 模式基本配置
实验拓扑:
配置:
R1-
ip multicast-routing //路由器上要运行multicast routing
interface FastEthernet0/0
ip address 16.1.1.1 255.255.255.0
ip pim dr-priority 3 //设置DR优先级,以太网才会选
ip pim dense-mode //设置PIM模式DM
duplex auto
speed auto
!
interface Serial1/0
ip address 12.1.1.1 255.255.255.0
ip pim dense-mode //设置PIM模式DM
serial restart-delay 0
!
interface Serial1/1
ip address 13.1.1.1 255.255.255.0
ip pim dense-mode //设置PIM模式DM
serial restart-delay 0
!
router ospf 110
router-id 1.1.1.1
log-adjacency-changes
network 12.1.1.0 0.0.0.255 area 0
network 13.1.1.0 0.0.0.255 area 0
network 16.1.1.0 0.0.0.255 area 0
!
R2-
ip multicast-routing //路由器上运行组播
interface Serial1/0
ip address 12.1.1.2 255.255.255.0
ip pim dense-mode //设置PIM模式DM
serial restart-delay 0
!
interface Serial1/1
ip address 24.1.1.2 255.255.255.0
ip pim dense-mode //设置PIM模式DM,连接源的接口
serial restart-delay 0
!
router ospf 110
router-id 2.2.2.2
log-adjacency-changes
net