Friday, January 8, 2016

Multicast task #2. RP configuration.

Topology:



Use configuration from Multicast task #1 as initial configuration for this task.

Requirements: 

1. Configure R3 to be the RP for multicast groups 228.0.0.0 - 227.255.255.255
2. Configure R4 to be the RP for multicast groups 229.0.0.0 - 228.255.255.255
3. Configure R5 to serve as backup RP for R3 and R4, in case either of those fails.
4. Configure R2 to be the RP for the remaining multicast groups. 
5 . Use Cisco proprietary protocol to dynamically distribute RP information. 
6.  Do not remove configuration from previous task to complete the above requirements. 

Solution:

Highlight the text below to reveal the solution.

This task requires understanding of RP information distribution protocols (Auto-RP vs BSR), and understanding of RP selection process (longest mask match, dynamic vs static).


Requirement #5 - Use Auto-RP to distribute the RP information. Configure any two routers as mapping agents (for redundancy). 
Requirements #1, 2 - configure R3 and R4 to send Auto-RP announce for specified ranges. 
Requirement #3 - configure R5 to send Auto-RP announce for range 228.0.0.0/7. R5 must announce the /7 range, otherwise it will be the RP, since it has a higher loopback0 address. 
Requirement #4 - configure R2 to send Auto-RP without specifying the range. It will override previously configured static RP address. 
Requirement #6 - since modifying previous configuration is not allowed, configure "ip pim autorp listener" on all IOS routers to allow Auto-RP to work across sparse-mode interfaces. 


R1:



!
interface Loopback0
 ip address 13.0.1.1 255.255.255.255
 ip pim sparse-mode
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 13.0.12.1 255.255.255.0
 ip pim dr-priority 1000
 ip pim sparse-mode
!
interface Ethernet0/1
 ip address 13.0.15.1 255.255.255.0
 ip pim dr-priority 1000
 ip pim sparse-mode
!
ip pim autorp listener
!

R2:


!
interface Loopback0
 ip address 13.0.2.2 255.255.255.255
 ip pim sparse-mode
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 13.0.12.2 255.255.255.0
 ip pim sparse-mode
!
interface Ethernet0/1
 ip address 13.0.25.2 255.255.255.0
 ip pim sparse-mode
!
interface Ethernet0/2
 ip address 13.0.23.2 255.255.255.0
 ip pim sparse-mode
!
ip pim autorp listener
ip pim send-rp-announce Loopback0 scope 255
!


R3:


!
ipv4 access-list RANGE1
 10 permit ipv4 228.0.0.0 0.255.255.255 any
!
router pim
 address-family ipv4
  rp-address 13.0.3.3
  auto-rp mapping-agent Loopback0 scope 255 interval 10
  auto-rp candidate-rp Loopback0 scope 255 group-list RANGE1 interval 60

!


R4:


ipv4 access-list RANGE2
 10 permit ipv4 229.0.0.0 0.255.255.255 any
!
router pim
 address-family ipv4
  rp-address 13.0.3.3
  auto-rp candidate-rp Loopback0 scope 255 group-list RANGE2 interval 60
 !


R5:


!
interface Loopback0
 ip address 13.0.5.5 255.255.255.255
 ip pim sparse-mode
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 13.0.15.5 255.255.255.0
 ip pim sparse-mode
!
interface Ethernet0/1
 ip address 13.0.25.5 255.255.255.0
 ip pim sparse-mode
!
interface Ethernet0/2
 ip address 13.0.56.5 255.255.255.0
 ip pim sparse-mode
!
ip pim autorp listener
ip pim send-rp-announce Loopback0 scope 255 group-list 10
!
access-list 10 permit 228.0.0.0 1.255.255.255
!


R6:


!
interface Loopback0
 ip address 13.0.6.6 255.255.255.255
 ip pim sparse-mode
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 13.0.56.6 255.255.255.0
 ip pim sparse-mode
!
interface Ethernet0/1
 ip address 13.0.10.6 255.255.255.0
 ip pim sparse-mode
 ip igmp query-max-response-time 5
 ip igmp query-interval 10
!
interface Ethernet0/2
 ip address 13.0.36.6 255.255.255.0
 ip pim sparse-mode
!
ip pim autorp listener


R7:


!
interface Loopback0
 ip address 13.0.7.7 255.255.255.255
 ip pim sparse-mode
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 13.0.10.2 255.255.255.0
 ip pim sparse-mode
!
interface Ethernet0/1
 ip address 13.0.47.7 255.255.255.0
 ip pim sparse-mode
!
ip pim send-rp-discovery Loopback0 scope 255

Verification:

R1#sh ip pim rp mapping
PIM Group-to-RP Mappings

Group(s) 224.0.0.0/4
  RP 13.0.2.2 (?), v2v1
    Info source: 13.0.3.3 (?), elected via Auto-RP
         Uptime: 00:17:15, expires: 00:00:26
Group(s) 228.0.0.0/8
  RP 13.0.3.3 (?), v2
    Info source: 13.0.3.3 (?), elected via Auto-RP
         Uptime: 00:16:26, expires: 00:00:25
Group(s) 228.0.0.0/7
  RP 13.0.5.5 (?), v2v1
    Info source: 13.0.3.3 (?), elected via Auto-RP
         Uptime: 00:14:45, expires: 00:00:25
Group(s) 229.0.0.0/8
  RP 13.0.4.4 (?), v2
    Info source: 13.0.3.3 (?), elected via Auto-RP
         Uptime: 00:15:54, expires: 00:00:25
Group(s): 224.0.0.0/4, Static
    RP: 13.0.3.3 (?)


No comments:

Post a Comment