56、组播配置实验之PIMSparseMode利用Auto-RP动态选取RP
1、Auto-RP解析
创新互联坚持“要么做到,要么别承诺”的工作理念,服务领域包括:成都做网站、网站建设、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的陈仓网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!
2、实验拓扑
3、基础配置
R1配置
interface Loopback0
ip address 1.1.1.1 255.255.255.0
interface Serial0/1
ip address 12.1.1.1 255.255.255.0
interface Serial0/2
ip address 14.1.1.1 255.255.255.0
interface FastEthernet1/0
ip address 13.1.1.1 255.255.255.0
router ospf 110
router-id 1.1.1.1
network 1.1.1.0 0.0.0.255 area 0
network 12.1.1.0 0.0.0.255 area 0
network 13.1.1.0 0.0.0.255 area 0
network 14.1.1.0 0.0.0.255 area 0
R2配置
interface Loopback0
ip address 2.2.2.2 255.255.255.0
interface Serial0/0
ip address 25.1.1.2 255.255.255.0
interface Serial0/1
ip address 12.1.1.2 255.255.255.0
router ospf 110
router-id 2.2.2.2
network 2.2.2.0 0.0.0.255 area 0
network 12.1.1.0 0.0.0.255 area 0
default-information originate always
R3配置
interface FastEthernet1/0
ip address 13.1.1.3 255.255.255.0
router ospf 110
router-id 3.3.3.3
network 13.1.1.0 0.0.0.255 area 0
R4配置
interface Serial0/0
ip address 46.1.1.4 255.255.255.0
interface Serial0/2
ip address 14.1.1.4 255.255.255.0
router ospf 110
router-id 4.4.4.4
network 14.1.1.0 0.0.0.255 area 0
R5配置
interface Serial0/0
ip address 25.1.1.5 255.255.255.0
R6配置
interface Serial0/0
ip address 46.1.1.6 255.255.255.0
no ip routing
ip default-gateway 46.1.1.4
4、配置PIM Sparse Mode
R1配置
ip multicast-routing
interface Serial0/1
ip pim sparse-mode
interface Serial0/2
ip pim sparse-mode
interface FastEthernet1/0
ip pim sparse-mode
R2配置
ip multicast-routing
interface Serial0/0
ip pim sparse-mode
interface Serial0/1
ip pim sparse-mode
R3配置
ip multicast-routing
interface FastEthernet1/0
ip pim sparse-mode
R4配置
ip multicast-routing
interface Serial0/0
ip pim sparse-mode
interface Serial0/2
ip pim sparse-mode
R6配置
interface Serial0/0
ip igmp join-group 224.1.1.1
5、Auto-RP动态选举RP
配置Auto-RP需要遵循以下规则
1、PIM模式要配置为sparse-dense模式(当Sparse模式无法工作的时候,可以工作在Dense模式下,启动备份冗余的作用)
2、CRP、MA通常使用环回口,且需通过进IGP中
3、MA的环回口也要配置为sparese-dense模式
我们这里讲R1配置为CRP,R2配置为MA
R1配置
interface Loopback0
ip pim sparse-dense-mode
interface Serial0/1
ip pim sparse-dense-mode
interface Serial0/2
ip pim sparse-dense-mode
interface FastEthernet1/0
ip pim sparse-dense-mode
ip pim send-rp-announce loopback 0 scope 8
R2配置
interface Loopback0
ip pim sparse-dense-mode
interface Serial0/0
ip pim sparse-dense-mode
interface Serial0/1
ip pim sparse-dense-mode
ip pim send-rp-discovery loopback 0 scope 8
R3配置
interface FastEthernet1/0
ip pim sparse-dense-mode
R4配置
interface Serial0/0
ip pim sparse-dense-mode
interface Serial0/2
ip pim sparse-dense-mode
网页标题:56、组播配置实验之PIMSparseMode利用Auto-RP动态选取RP
文章位置:http://pwwzsj.com/article/pedsph.html