Re: Crazy EIGRP question

From: Brian McGahan (brian@xxxxxxxxxxxxxxx)
Date: Thu Feb 14 2002 - 11:18:43 GMT-3


   
Maybe I'm misunderstanding your question, but if you want to change the
distance of a route, use the 'distance' command. Under the EIGRP process,
you can change the distance for a specific route on a per neighbor basis.

Router EIGRP 1
 distance 100 1.2.3.4 0.0.0.0 1
!
access-list 1 permit 10.0.0.0 0.255.255.255

This syntax sets the routes that match access-list 1 and are learned from
neighbor 1.2.3.4 to administrative distance 100. 1.2.3.4 is the neighbor
address, 0.0.0.0 is the wildcard your checking it against. All routes that
do not match ACL 1 are left at administrative distance 90.

I don't believe you can change the external distance on a per neighbor or
per route basis. *someone please correct me if I'm wrong. Use the 'distance
eigrp' command if you need to change the distance of an external route.

Brian McGahan
CCIE #8593
brian@cyscoexpert.com

CyscoExpert Corporation
Internetwork Consulting & Training
http://www.cyscoexpert.com
Voice: 847.674.3392
Fax: 847.674.2625

----- Original Message -----
From: <Giveortake@aol.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, February 13, 2002 11:24 PM
Subject: Crazy EIGRP question

> Basically trying to change the admin distance of an EIGRP route to 170 vs
the
> standard 90. Not sure if there is a way to do this or not considering the
> following config. One way would be to use the network 150.50.5.64
0.0.0.31
> eigrp command. The IOS I am using does not support masking under EIGRP
so I
> can not use that way. There is also a router R5 directly connected to E0
or
> R7. R5 is only running OSPF. R5 should not be able to see the
> 150.50.5.64 subnet.
>
> R7
>
> E0
> ip address 150.50.7.7 255.255.255.128
>
> s1
> ip address 150.50.5.68 255.255.255.240
>
> router eigrp
> network 150.50.0.0
> no auto-summary
> redistribute ospf 1 metric 56 1000 255 1 1500
>
> router ospf 1
> network 150.50.7.0 0.0.0.127 area 0
> redistribut eigrp 1 subnets
>
>
> R8
>
> Loopback 0
> ip address 200.0.0.8 255.255.255.255
>
> E0
> ip address 150.50.4.8 255.255.255.0
>
> E1
> ip address 150.50.3.8 255.255.255.0
>
> S0
> ip address 150.50.6.69 255.255.255.240
>
>
> Router EIGRP 1
> network 150.50.0.0
> no auto-summary
> redistribut connected route-map static
> distribute-list 60 out (so the 150.50.64.0 subnet does not get to R7 and
get
> redistributed to R5)
>
> route-map static permit 50
> match ip address 50
>
> access-list 50 permit 150.50.3.0
> access-list 50 permit 150.50.4.0
> access-list 50 permit 200.0.0.8
>
> access-list 60 permit 150.50.3.0
> access-list 60 permit 150.50.4.0
> access-list 60 permit 200.0.0.8
>
> So if you follow all the above crazyness, the trouble is R8 is advertising
> the 150.50.3.0, 150.50.4.0 networks as EIGRP networks thus giving them a
90
> admin distance and the 200.0.0.8 subnet is be redistributed into EIGRP and
is
> showing up as a external route in R7 thus a 170 admin distance.
>
> SO............ Is there any way to get R8 to not advertise the 150.50.3.0
> and the 150.50.4.0 as native EIGRP routes to R7 so they show up like the
> 200.0.0.8 with an admin distance of 170 external vs the 90 internal other
> than using the subnet masking option under EIGRP network command???
>
> If you followed this, you are well on your way to passing the lab IMHO :)
>
> David



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 13:46:22 GMT-3