if you are using distribute list with gateway, it uses OR operation instead of
AND operation. i.e either it can be prefix-list matching the prefixes or if it
matches gateway prefix or both. it will apply the said operation.
HTH
> From: bxperts_at_gmail.com
> To: ccielab_at_groupstudy.com
> Subject: Filtering Routes in RIP
> Date: Sun, 21 Aug 2011 00:01:26 +0300
>
> Dears,
>
>
>
> I want to filter specific routes in RIP from one gateway while allowing
from
> others.
>
>
>
> If I have the following configuration then how the routes will be treated.
> The distribute-list will only allow "30.0.0.0/14" from all gateways or it
> will be only specific to "155.1.0.4" gateway.
>
>
>
> To more specific, the distribute will go to check the check the prefix then
> the gateway or some other method.
>
>
>
>
>
> ip prefix-list ALLOW_SPECIFIC
>
> seq 5 permit 30.0.0.0/14
>
> seq 10 deny 0.0.0.0/0 le 32
>
>
>
> Ip prefix-list GATEWAY_R4
>
> seq 5 deny 155.1.0.4/32
>
> seq 10 permit 0.0.0.0/0 le 32
>
>
>
> Router RIP
>
> Version 2
>
> distribute-list prefix ALLOW_SPECIFIC gateway GATEWAY_R4 in Serial0/0
>
>
>
>
>
> Regards,
>
>
>
> Shahid
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Sat Aug 20 2011 - 23:49:47 ART
This archive was generated by hypermail 2.2.0 : Thu Sep 01 2011 - 06:05:56 ART