From: Narbik Kocharians (narbikk@gmail.com)
Date: Tue Jul 04 2006 - 12:05:36 ART
Let's say R1 is connected to R2 and their IP addresses are as follows:
R1 = 200.1.1.1 /24 and R2's Ip address is 200.1.1.2 /24
R2 is advertising bunch of networks with different prefix length to R1 and
you are asked to configure R1 such that it only allows existing and future
networks with prefix length of /10 to /14. You are also asked to configure
R1 so it allows these networks ONLY from R2 and no other router, DO NOT use
neighbor command to accomplish this task.
In this scenario you can use prefix-list and gateway option as follows:
Ip prefix-list TEST seq 5 permit 0.0.0.0/0 ge 10 le 14
IP Prefix-list R2 seq 5 permit 200.1.1.2/32
Router rip
Distribute-list prefix TEST gateway R2 in
I think this is what you were looking for.
Narbik Kocharians
CCIE# 12410 (R&S, SP, Security)
CCSI# 30832
Network Learning, Inc. (CCIE class Instructor)
www.ccbootcamp.com (CCIE Training)
On 7/4/06, Victor Cappuccio <cvictor@protokolgroup.com> wrote:
>
> Yes that is correct, using the source of the ACL as the Gateway and the
> destination of the route as the prefix :D
>
>
>
>
>
> _____
>
> De: petrsoft@gmail.com [mailto:petrsoft@gmail.com] En nombre de Petr
> Lapukhov
> Enviado el: Martes, 04 de Julio de 2006 09:58 a.m.
> Para: Victor Cappuccio
> CC: Sami; ccielab
> Asunto: Re: RIP distribute-list gateway
>
>
>
> Also, with RIP you may use *extended* ACL to filter on update source
> inbound.
>
> HTH
>
> 2006/7/4, Victor Cappuccio <cvictor@protokolgroup.com>:
>
> Hi there Sami, there is a similar threat in this list
> http://www.groupstudy.com/archives/ccielab/200206/msg00924.html
> HTH
> Victor.-
>
>
>
> -----Mensaje original-----
> De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre de Sami
> Enviado el: Martes, 04 de Julio de 2006 09:28 a.m.
> Para: ccielab
> Asunto: RIP distribute-list gateway
>
> Group,
>
> I can't find distribute-list gateway command explanation on CCO.
>
> I want to know how to use gateway function in rip distribute-list?
>
> Thanks
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
> --
> Petr Lapukhov, CCIE #16379
> petr@internetworkexpert.com
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987
> Outside US: 775-826-4344
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:46 ART