56、组播配置实验之PIM Sparse Mode利用Auto-RP动态选取RP

简介:

1、Auto-RP解析

wKioL1ZyZ8CiGF3hAAFGv1ZBJ8Q867.png

wKioL1ZyZ8KAEvpzAAGN2mddLls969.png

wKiom1ZyZ7vCjxZIAAH2jGet6NY236.png

wKiom1ZyZ77APc0nAAE0zHqFnnM345.png

wKiom1ZyZ8Kix6BVAAH6xQyJLR4003.png


2、实验拓扑

wKiom1Zw083Bbq4FAABJZ5RBKCw786.png


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


wKioL1ZybTiSUaJvAAAw3-g6YvM195.png

wKiom1ZybS6xVLY0AADqBHw1QLs349.jpg





      本文转自开源殿堂 51CTO博客,原文链接:http://blog.51cto.com/kaiyuandiantang/1725691,如需转载请自行联系原作者





相关文章
|
网络安全 网络虚拟化 数据安全/隐私保护
Cisco Packet Tracer模拟:ASA5505 IP Sec VPN实验
Cisco Packet Tracer模拟:ASA5505 IP Sec VPN实验
827 0
Cisco Packet Tracer模拟:ASA5505 IP Sec VPN实验
|
网络虚拟化 Shell 传感器