From: CCIE unnumbered (ccie.unnumbered@gmail.com)
Date: Mon Oct 06 2008 - 17:35:04 ART
thank you all for the responses. I get it now.
S Malik wrote:
> Let me try it differently,
> If you use gateway option then it means that you are trying to
> controle the sources of routing updates. If you use prefix list (with
> gateway) with permit option along with interface, it means you want
> routes ONLY from that source on that interface and routes from other
> sources on that interface will be filtered out.
>
> For example R1 has two neigbors R2 & R3 on FastEthernet 0/0
> interface. R1 has IP address of 172.16.0.1/24 <http://172.16.0.1/24>,
> R2 172.16.0.2/24 <http://172.16.0.2/24> and R3 172.16.0.3/24
> <http://172.16.0.3/24>
>
> and you configure following on R1
>
> router eigrp 1
> distribute-list gateway neighbor-R2 in FastEthernet 0/0
> !
> ip prefix-list neighbor-R2 seq 5 permit 172.16.0.2/32
> <http://172.16.0.1/32>
>
> It means routes from 172.16.0.2 <http://172.16.0.2> is permitted but
> any routes from 172.16.0.3 <http://172.16.0.3> will be denied.
>
> If you change your prefix list to following,
> ip prefix-list neighbor-R2 seq 5 permit 172.16.0.3/32
> <http://172.16.0.1/32>,
>
> you will receive routes from ONLY from 172.16.0.3 <http://172.16.0.3>
> and routes from 172.16.0.2 <http://172.16.0.2> will be denied.
>
> Second question of distribute-list in, is for the whole routing table,
> means you want your router to put routes in the main routing table
> which are specifically permitted by the ACL.
>
>
>
>
>
> On Tue, Sep 30, 2008 at 4:21 PM, CCIE unnumbered
> <ccie.unnumbered@gmail.com <mailto:ccie.unnumbered@gmail.com>> wrote:
>
> Not very clear to me. I thought both will introduce same routes
> into EIGRP?
> Can some one please explain in more details?
>
> Thanks,
> ccie.unnumbered
>
>
> On Tue, Sep 30, 2008 at 3:59 PM, S Malik <ccie.09@gmail.com
> <mailto:ccie.09@gmail.com>> wrote:
>
> 1- filter routes arriving on interface f0/0 from gateway
> neighbor-R2
>
> 2- Routes permitted by the ACL will enter into the main
> routing table and rest will be filtered out.
>
> Any one please correct if wrong.
> On Tue, Sep 30, 2008 at 3:21 PM, CCIE unnumbered
> <ccie.unnumbered@gmail.com <mailto:ccie.unnumbered@gmail.com>>
> wrote:
>
> Dear GS,
>
> What is the difference between the following configurations:
> (1)
> router eigrp 1
> distribute-list gateway neighbor-R2 in FastEthernet 0/0
> !
> ip prefix-list neighbor-R2 seq 5 permit 172.16.0.1/32
> <http://172.16.0.1/32>
>
> (2)
> router eigrp 1
> distribute-list 1 in
> !
> access-list 1 permit host 172.16.0.1 <http://172.16.0.1/>
>
>
> Thanks,
>
>
> Blogs and organic groups at http://www.ccie.net
> <http://www.ccie.net/>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
>
>
>
> --
> CCIE unnumbered
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sat Nov 01 2008 - 15:35:19 ARST