Get the App
SLTechnology News&Howtos  ›  Network Security  › 

56. PIM Sparse Mode of Multicast configuration experiment uses Auto-RP to dynamically select RP

Shulou Source: shulou.com Published: 2022-06-01 05:35:21 09月29日 Update

1. Auto-RP parsing

2. Experimental topology

3. Basic configuration

R1 configuration

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 configuration

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 configuration

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 configuration

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 configuration

Interface Serial0/0

Ip address 25.1.1.5 255.255.255.0

R6 configuration

Interface Serial0/0

Ip address 46.1.1.6 255.255.255.0

No ip routing

Ip default-gateway 46.1.1.4

4. Configure PIM Sparse Mode

R1 configuration

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 configuration

Ip multicast-routing

Interface Serial0/0

Ip pim sparse-mode

Interface Serial0/1

Ip pim sparse-mode

R3 configuration

Ip multicast-routing

Interface FastEthernet1/0

Ip pim sparse-mode

R4 configuration

Ip multicast-routing

Interface Serial0/0

Ip pim sparse-mode

Interface Serial0/2

Ip pim sparse-mode

R6 configuration

Interface Serial0/0

Ip igmp join-group 224.1.1.1

5. Auto-RP dynamic election RP

The following rules are required to configure Auto-RP

1. PIM mode should be configured as sparse-dense mode (when Sparse mode does not work, you can work in Dense mode to start backup redundancy)

2. CRP and MA usually use loop backports, which need to be entered into IGP.

3. The loop loop of MA should also be configured in sparese-dense mode.

Let's talk about R1 configured as CRP,R2 and configured as MA.

R1 configuration

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 configuration

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 configuration

Interface FastEthernet1/0

Ip pim sparse-dense-mode

R4 configuration

Interface Serial0/0

Ip pim sparse-dense-mode

Interface Serial0/2

Ip pim sparse-dense-mode

Tags: Configuration mode work dynamic experiment role redundancy foundation backup topology time rules election Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn MariaDB Microsoft Shulou Tech Info Redmi