07-14-2009 11:06 AM - edited 03-06-2019 06:45 AM
Imagine that I need to write an access-list to allow traffic to
228.0.0.0/8 and
231.0.0.0/8
Then I wrote down the binary for both of them and tried to find a pattern. If I do 228.0.0.0 3.255.255.255 I also include "229.0-255.0-255.0-255" and that does not work though.
11100100 = 228
11100111 = 231
07-14-2009 11:16 AM
That's a multicast range so what exactly are you trying to do?
The subnet as you stated should work but it depends on the use of this filtering.
__
Edison.
07-14-2009 11:22 AM
The respective exercise asked to 'advertise a given router as the RP for 228.0.0.0/8 and 231.0.0.0/8'.
So I would use 'ip pim send-rp-announce loopback0 scope 20 group-list
So I was trying to consolidate the respective access-list on one line if possible but I so far I can't see how to do that...
07-14-2009 11:26 AM
So does your access list read:
access list 1 allow any 228.0.0.0 3.255.255.255
and then, under the relevant interface:
ip access-group 1 in
?
Are their any other access lists applied to the interface(s)?
07-14-2009 11:51 AM
In this case, it would be applied on a router part of the multicast RP configuration as shown below (I separated the access-lists since it is nto clear to me if it is possible to write this using just one access-list entry).
config t
#ip pim send-rp-announce loopback0 scope 20 group-list 1
access-list 1 permit 228.0.0.0 0.255.255.255
access-list 1 permit 231.0.0.0 0.255.255.255
07-14-2009 12:06 PM
That's the right syntax. The requirements is to advertise 228.0.0.0/8 and 231.0.0.0/8 not from 228.0.0.0/8 to 231.0.0.0/8 - if I understood your post correctly.
It seems you are studying for a CCIE and reading the requirements correctly is a fundamental part of the exam.
__
Edison.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide