From: Venkatesh Palani (kvpalani@gmail.com)
Date: Wed Feb 15 2006 - 19:56:46 GMT-3
Hi Emil,
The access-list for even routes is correct, but for the odd routes it is
pretty tricky because when you use 0.0.255.255 you are matching both odd and
even.
so I think we coudl do it two different ways, meanwhile I havent tested them
in the lab so please test them before you use
1. in the above example use 218.18.1.0 0.0.254.255 because the last bit
needs to be 1 always and is not allowed to change
2. use routemap where you want to filter out the even routes thus the
remainning will be odd routes, something liek the one shown below
Route-map odd-routes deny 10
match ip <ACL for the even routes>
Route-map oddroutes permit 20
Could you please check them on ur set up and let me know if it all works :-)
Thank you,
venkatesh
On 2/16/06, Emil Patel <emilpatel@hotmail.com> wrote:
>
> I have following rip routes being learned from the BB routers:
>
>
>
> 218.18.0.0/24
>
> 218.18.1.0/24
>
> 218.18.2.0/24
>
> 218.18.3.0/24
>
>
>
> If I just want allow odd or even numbered routes based on 3rd octet, here
> what I have in my config:
>
>
>
> For odd routes:
>
> Access-list 10 permit 212.18.0.0 0.0.255.255
>
>
>
> For even routes:
>
> Access-list 10 permit 212.18.0.0 0.0.254.255
>
>
>
> Is this correct?
>
>
>
> Emil
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Wed Mar 01 2006 - 11:28:18 GMT-3