Get the App
SLTechnology News&Howtos  ›  Network Security  › 

55. PIM Sparse Mode statically specifies RP for Multicast configuration experiment

Shulou Source: shulou.com Published: 2022-06-01 03:18:42 10月05日 Update

1. Introduction to PIM Sparse Mode

2. Experimental topology

3. Basic configuration

R1 configuration

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 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 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 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. Static election RP

Static election RP requires a rendezvous point RP to be specified on each PIM router, and the rendezvous point RP elected by this method has no backup redundancy.

R1 configuration

Interface Loopback0

Ip address 1.1.1.1 255.255.255.0

Router ospf 110

Network 1.1.1.0 0.0.0.255 area 0

Ip pim rp-address 1.1.1.1

R2 configuration

Ip pim rp-address 1.1.1.1

R3 configuration

Ip pim rp-address 1.1.1.1

R4 configuration

Ip pim rp-address 1.1.1.1

6. Testing

Before the source sends multicast traffic, a RPT tree is formed between R1 and R4, and no tree is formed between R2 and R1.

The source encapsulates the multicast traffic into a unicast and sends it to the rendezvous point RP. Because there is a receiver under the rendezvous point RP, the rendezvous point will unencapsulate the unicast sent by the source and send the multicast traffic to the receiver.

The receiver then sends a Join message to the First Hop router, and eventually generates a SPT tree between the First Hop router and the Last Hop router.

7. Turn off automatic conversion of SwitchOver

To turn off the automatic translation SwitchOver, simply configure it in the global configuration mode of the Last Hop router.

Ip pim spt-threshold infinity

Tags: Configuration routing router receiver traffic election static inter experiment global redundancy just need foundation backup message topology mode this method introduction source Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Huawei OPPO Reno Shulou Technology MariaDB