Thursday, January 7, 2016

Multicast task #1. Basic multicast

Topology:



Routers R3 and R4 are IOS-XR, the rest are IOS.
Two hosts to send and receive multicast.
Configure loopback0 interfaces on all routers and links between the routers using the allocated IPv4 range.
All routers should have all interfaces in OSPF area 0.

Requirements: 

1. Configure all routers in the topology to run PIM-SM on all links between the routers. 
2. Configure router R3 Loopback0 interface to be the RP.
3. Statically configure the RP information on all routers in the topology. 
4. All receivers use IGMPv2. 
5. On VLAN 10, router R7 should be sending the IGMP query every 10 seconds. 
6. On VLAN 10, router R6 should be handling the multicast source registration with the RP for multicast traffic originated on the segment. 
7. On VLAN 34, IGMP group should be removed after 60 seconds of inactivity. 
8. For multicast traffic originated from router R1, PIM Register message should be sent by router R1.

Solution:

Highlight the text below to reveal the solution.

This task requires basic understanding of PIM-SM and IGMP configuration.

Requirement #4 - note IOS-XR using IGMPv3 by default.
Requirement #5 - IGMPv2 Querier is the router with lowest IP address on the segment. R7 host address need to be changed to be numerically lower than 6 to be elected querier. Adjust the IGMP query interval to 10 seconds.
Requirement #6 - adjust PIM priority for router R6 to win the DR election on the segment.
Requirement #7 - Adjust the IGMP query interval to 20 seconds. Timeout is 3 times the query interval.
Requirement #8 - adjust PIM priority for router R1 to wen the DR election.


R1: 


!
ip multicast-routing
!
ip pim rp-address 13.0.3.3
!
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
!

R2:


!
ip multicast-routing
!
ip pim rp-address 13.0.3.3
!
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
!

R3:


!
multicast-routing
 address-family ipv4
  interface Loopback0
   enable
  !
  interface GigabitEthernet0/0/0/0
   enable
  !
  interface GigabitEthernet0/0/0/1
   enable
  !
  interface GigabitEthernet0/0/0/2
   enable
  !
 !
!
router igmp
 interface GigabitEthernet0/0/0/2
  query-interval 20
  query-max-response-time 10
 !
 version 2
!
router pim
 address-family ipv4
  rp-address 13.0.3.3
 !
!

R4:


!
multicast-routing
 address-family ipv4
  interface GigabitEthernet0/0/0/0
   enable
  !
  interface GigabitEthernet0/0/0/1
   enable
  !
  interface GigabitEthernet0/0/0/2
   enable
  !
 !
!
router igmp
 interface GigabitEthernet0/0/0/2
  query-interval 20
  query-max-response-time 10
 !
 version 2
!
router pim
 address-family ipv4
  rp-address 13.0.3.3
 !
!


R5:


!
ip multicast-routing
!
ip pim rp-address 13.0.3.3
!
!
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
!

R6:


!
ip multicast-routing
!
ip pim rp-address 13.0.3.3
!
!
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
!
interface Ethernet0/3
 ip address 13.0.46.6 255.255.255.0
 ip pim sparse-mode
!


R7:


!
ip multicast-routing
!
ip pim rp-address 13.0.3.3
!
!
interface Ethernet0/0
 ip address 13.0.10.2 255.255.255.0
 ip pim sparse-mode
 ip igmp query-max-response-time 5
 ip igmp query-interval 10
!
interface Ethernet0/1
 ip address 13.0.47.7 255.255.255.0
 ip pim sparse-mode
!

Verification:


2 comments:

  1. Hi friend.. I didn't found any solutions with any post ..i mean web page solution is seen blank..please help me out.

    ReplyDelete
    Replies
    1. Hi Swapnil. Thank you for reading! Solution text is written in white color. In order to reveal the configuration for each device, just highlight the text in each section.

      Dima

      Delete