Cisco Labs – Redundant and Resilient networks (16) – Multicast Redundancy IPv6


Introduction

During my university studies I was doing a diploma thesis in field of Redundant and reliable networking. The purpose of itwas to create LAB examples for students, so they can test First Hop Redundancy Protocols (FHRP) , Any Transport over MPLS (AToM) and Border Gateway Protocol (BGP) on Cisco platform. These tasks are created to Virtlab (Virtual lab with physical Cisco routers) however configuration is valid and tested on physical Cisco routers as well.

Each task in the series will have its separate post with brief description of the task and schema. Complete task can be downloaded on My Skydrive

ZIP file contains:

  • *.HTML file – complete step by step guide how to perform the task
  • *.PNG – pictures with topology and others
  • *_preconf.txt – file with basic configuration of topology to be able to focus on task goal (IP addresses, interfaces and so on)
  • *_end.txt – file with complete configuration. Once put to the routers, you will get working task
  • *.dia – Topology in free DIA editor
  • *.XML – topology in XML format

To complete the task:

  • Connect your environment accorrding the topology
  • open the file *_preconf.txt from ZIP file with complete task and configure your environment with basic settings so you can start with the task.



Multicast redundancy – IPv6

Title: Multicast redundancy – IPv6

Goal:

Configure Protocol Indipendent Multicast on IPv6 network.

Configure PIM with BSR feature. Configure routers RP1 and RP2 as rendezvouz point candidates. Configure MA1 and MA2 as BSR candidatets.

Test multicast redundancy and functionality.

Required time: 120 minutes

Theoretical background:

Topology:

Multicast-Redundancy-IPv6

Configuration:

 

1) Basic network configuration

IPv6 addresses and RIP routing process RIP should be configured on each router and PC.

PC1

     
      PC1#ip -6 addr add 2001:1::1/64 dev eth0
      PC1#ip -6 route add default via 2001:1::2

PC2

     
      PC2#ip -6 addr add 2001:2::2/64 dev eth0
      PC2#ip -6 route add default via 2001:2::1

Router MA1

MA1(config)#hostname MA1

MA1(config)#ipv6 unicast-routing

MA1(config)#ipv6 router rip RIP

MA1(config)#interface #MA1:MA1-SW#

MA1(config-if)#ipv6 address 2001::1/128

MA1(config-if)#ipv6 rip RIP enable

MA1(config)#no shutdown
 

Router MA2

MA2(config)#hostname MA2

MA2(config)#ipv6 unicast-routing

MA2(config)#ipv6 router rip RIP

MA2(config)#interface #MA2:MA2-SW#

MA2(config-if)#ipv6 address 2001::2/128

MA2(config-if)#ipv6 rip RIP enable
 

Router RP1

RP1(config)#hostname RP1

RP1(config)#ipv6 unicast-routing

RP1(config)#ipv6 router rip RIP

RP1(config)#interface #RP1:RP1-SW#

RP1(config-if)#ipv6 address 2001::4/128

RP1(config-if)#ipv6 rip RIP enable
 

Router RP2

RP2(config)#hostname RP2

RP2(config)#ipv6 unicast-routing

RP2(config)#ipv6 router rip RIP

RP2(config)#interface #RP2:RP2-SW#

RP2(config-if)#ipv6 address 2001::6/128

RP2(config-if)#ipv6 rip RIP enable
 

Router R1

R1(config)#hostname R1

R1(config)#ipv6 unicast-routing

R1(config)#ipv6 router rip RIP

R1(config)#interface #R1:R1-SW#

R1(config)#ipv6 address 2001::3/128

R1(config)#ipv6 rip RIP enable

R1(config)#interface #R1:PC1-R1#

R1(config)#ipv6 address 2001:1::2/64

R1(config)#ipv6 rip RIP enable
 

Router R2

R2(config)#hostname R2

R2(config)#ipv6 unicast-routing

R2(config)#ipv6 router rip RIP

R2(config)#interface #R2:R2-SW#

R2(config)#ipv6 address 2001::5/128

R2(config)#ipv6 rip RIP enable

R2(config)#interface #R2:PC2-R2#

R2(config)#ipv6 address 2001:2::1/64

R2(config)#ipv6 rip RIP enable
 

Test connectivity between devices using ping6 command.

 

2) Multicast configuration – BSR candidates

Router MA1

MA1(config)#ipv6 multicast-routing; enable multicast routing on the router

MA1(config)#ipv6 pim bsr candidate bsr 2001::1 priority 10; set router as BSR candidate with priority 10 (lower number mean lower priority)
 

Router MA2

MA2(config)#ipv6 multicast-routing; enable multicast routing on the router

MA2(config)#ipv6 pim bsr candidate bsr 2001::2 priority 20; set router as BSR candidate with priority 20 (lower number mean lower priority)
 

3) Multicast configuration – rendezvous points

Router RP1

      RP1(config)#ipv6 multicast-routing; enable multicast routing on the router
      RP1(config)#ipv6 pim bsr candidate rp 2001::4 priority 10; set router as RP candidate with priority 10 (lower number mean higher priority)

 

Router RP2

      RP2(config)#ipv6 multicast-routing; enable multicast routing on the router
      RP2(config)#ipv6 pim bsr candidate rp 2001::6 priority 20; set router as RP candidate with priority 20 (lower number mean higher priority)

 

4) Multicast configuration – client routers

Router R1

R1(config)#ipv6 multicast-routing
 

Router R2

R2(config)#ipv6 multicast-routing
 

Function test:

1) Turn PIM debugging on

MA1# debug ipv6 pim; turn PIM debugging on to display PIM communication
 

2) Display PIM information

MAx# sh ipv6 pim rp mapping; show which router is RP

RPx# sh ipv6 pim bsr candidate ; display bsr candidates

MAx# sh ipv6 pim bsr election ; display bsr election

MAx# show ipv6 pim tunnel ; display tunnels between elected BSR and elected RP
 

3) send multicast traffic

PC1# mcast -6 -s -a FF0E::10 -t 1 -m “This is multicast message”; run mcast application as sender of IPv6 multicast traffic to group address FF0E::10

PC2# mcast -6 -l -a FF0E::10 ; run mcast application as listener of IPv6 multicast traffic to group address FF0E::10
 

4) Turn RP2 off to initiate RP1 to be rendezvous point

RP2(config)#interface #RP2:RP2-SW#

RP2(config-if)#shutdown
; after interface shutdown router RP2 will no longer act as RP, role will be switched to the RP1 which has lower priority
 

5) Display PIM information

MAx# sh ipv6 pim rp mapping

RPx# sh ipv6 pim bsr candidate

MAx# sh ipv6 pim bsr election

MAx# show ipv6 pim tunnel
 

6) Turn MA2 off to use MA1 as BSR router

MA2(config)#interface #MA2:MA2-SW#

MA2(config-if)#shutdown
; after interface shutdown router MA2 will no longer act as BSR router, role will be switched to the MA1 which has lower priority
 

7) Display PIM information

MAx# sh ipv6 pim rp mapping

RPx# sh ipv6 pim bsr candidate

MAx# sh ipv6 pim bsr election

MAx# show ipv6 pim tunnel
 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s