Tuesday, February 10, 2009

ALU - Specific Multicast Mapping

Foreward: An ALU is an Autonomous Learning Unit, you can read this post to learn more about them.



 


 

Configure PIM sparse mode on routers R1, R2, and R3 on subnets 1.1.3.0, 1.1.23.0, and 1.1.124.0.  R3's FastEthernet0/0 segment should join IGMP groups 238.0.0.1 and 226.0.0.1.  Configure R2 to be the RP for groups 238.0.0.1 - 238.255.255.255.  Configure R1 to be the RP for all other groups between 226.0.0.0-239.255.255.255.  R2 should be the mapping agent.  Do not use PIMv2.  Use the least amount of lines for any required access lists.

 

Highlight below for the solution:

 

Solution:

 

R3:

ip multicast-routing

ip pim autorp listener

interface FastEthernet0/0

  ip pim sparse-mode

  ip igmp join-group 238.0.0.1

  ip igmp join-group 226.0.0.1

interface Serial1/3

  ip pim sparse-mode

 

R2:

ip multicast-routing

ip pim autorp listener

access-list 22 permit 238.0.0.0 0.255.255.255

interface Serial0/1

  ip pim sparse-mode

interface FastEthernet0/0

  ip pim sparse-mode

interface Loopback0

  ip pim sparse-mode

 

ip pim send-rp-announce loopback0 scope 250 group-list 22

ip pim send-rp-discovery loopback 0 scope 250

 

access-list 2 permit host 2.2.2.2

access-list 1 permit host 2.2.1.1

access-list 11 deny 224.0.0.0 1.255.255.255

access-list 11 deny 238.0.0.0 0.255.255.255

access-list 11 permit 224.0.0.0 15.255.255.255

 

ip pim rp-announce-filter rp-list 2 group-list 22

ip pim rp-announce-filter rp-list 1 group-list 11

 

 

R1:

ip multicast-routing

ip pim autorp listener

interface FastEthernet0/0

  ip pim sparse-mode

interface Loopback0

  ip pim sparse-mode

 

access-list 11 permit 226.0.0.0 1.255.255.255

access-list 11 permit 228.0.0.0 3.255.255.255

access-list 11 permit 232.0.0.0 3.255.255.255

access-list 11 permit 236.0.0.0 1.255.255.255

access-list 11 permit 239.0.0.0 0.255.255.255

 

ip pim send-rp-announce loopback0 scope 250 group-list 11

 

 

 

 

Confirmation:

R2#show ip pim rp map

PIM Group-to-RP Mappings

This system is an RP (Auto-RP)

This system is an RP-mapping agent (Loopback0)

 

Group(s) 226.0.0.0/7

  RP 2.2.1.1 (?), v2v1

    Info source: 2.2.1.1 (?), elected via Auto-RP

         Uptime: 00:01:07, expires: 00:00:08

Group(s) 228.0.0.0/6

  RP 2.2.1.1 (?), v2v1

    Info source: 2.2.1.1 (?), elected via Auto-RP

         Uptime: 00:01:07, expires: 00:00:08

Group(s) 232.0.0.0/6

  RP 2.2.1.1 (?), v2v1

    Info source: 2.2.1.1 (?), elected via Auto-RP

         Uptime: 00:01:07, expires: 00:00:08

Group(s) 236.0.0.0/7

  RP 2.2.1.1 (?), v2v1

    Info source: 2.2.1.1 (?), elected via Auto-RP

         Uptime: 00:01:07, expires: 00:00:08

Group(s) 238.0.0.0/8

  RP 2.2.2.2 (?), v2v1

    Info source: 2.2.2.2 (?), elected via Auto-RP

         Uptime: 00:01:06, expires: 00:00:08

Group(s) 239.0.0.0/8

  RP 2.2.1.1 (?), v2v1

    Info source: 2.2.1.1 (?), elected via Auto-RP

         Uptime: 00:01:08, expires: 00:00:07

 

 

Explanation:

 

A common source of confusion for CCIE candidates is which multicast commands allow deny statements in their associated access lists and which do not.  The "ip pim send-rp-announce" command does not work properly with deny statements.  It is highly recommended that you take the above lab, and attempt to replace access-list 11 on R1 with the version of access-list 11 that is on R2 and observe the outcome.

 

A second source of confusion is making Auto-RP work with PIM Sparse-Mode.  Since Auto-RP requires  the multicast groups 224.0.1.39 and 224.0.1.40 to be flooded via PIM dense mode, Sparse-Mode breaks Auto-RP by default.  The two most common solutions are to use PIM Sparse-Dense-Mode, or use the "ip pim autorp listener" command to force the router to use PIM Dense-Mode for the two Auto-RP groups.

 

Finally, this question tests your ability to minimize access list entries.  Below is a table that helps visualize how to determine the least number of lines required in a permit-only access list.  The area surrounded by a thick bold line includes the binary digits that differ between each of the subnets in question.  The goal is to highlight what binary digits can be any value, and still encompass all of the subnets we require while not including any subnets we do not.


Binary Multicast Access-list Minimization (Click for larger image):


 

DocCD items to reference:

Configuration Guide

ip pim autorp listener

ip pim send-rp-announce

ip pim send-rp-discovery

ip pim rp-announce-filter

1 comment:

  1. We like Within the Area Football & Recreational softball School as well as the Inside the Zone Soccer & Softball School! Football player’s offers such a desire for the sport, excitement, and also the capacity to interact with children; he helps make the instruction enjoyable in addition to effective travel baseball teams.….

    ReplyDelete