cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
428
Views
0
Helpful
4
Replies

eigrp external problem

illusion_rox
Level 1
Level 1

Hi every one, i faced this problem while i was practicing changing AD so plz have a look on it and tell me where i m mistaken.

I have 2 routers A and B connected via serial link

A serial ip 11.0.0.1/8

B serial ip 11.0.0.2/8

now i setup some static routes to other destinations like this

1) ip route 60.0.0.0 255.0.0.0 30.0.0.2 (30.0.0.1 is my loopback address just used 30.0.0.2 to create the static routes)

2) ip route 70.0.0.0 255.0.0.0 30.0.0.2

now i ran eigrp on both routers

A--> router eigrp 100

network 11.0.0.0

redistribute static

B--> router eigrp 100

network 11.0.0.0

now the two routes to 60.0.0.0 and 70.0.0.0 were shown with D EX and AD of 170. My simple requirement is to change the AD of 60.0.0.0 from 170 to 80 for example so i did this

access-list 1 permit 60.0.0.0

then in router eigrp 100

distance 80 11.0.0.1 0.0.0.0 1

but to my disappoinment it didnt work, can some1 tell me why this happened? suppose if i m given the task to change the AD of not all external eigrp routes but only the subset of those routes then how m i going to do it ??

waiting for ur valuable feedback

thanks

4 Replies 4

mohammedmahmoud
Level 11
Level 11

Hi,

In the distance command please make sure that "11.0.0.1" is the RID of the source router.

[edit] after testing it my self, it seems that it can't be done for External routes, as for external routes you must use "distance eigrp" command, and according to Cisco:

"You cannot set the administrative distance in EIGRP against certain routes or sources, as you can with other protocols. The command does not work this way with EIGRP."

HTH,

Mohammed Mahmoud.

thanks for the feedback, Mohammad bhai there is one mistake in ur reply i thought i must correct it, for eigrp, rip and isis the ip address will be the ip address of the advertising neighbours interface address, only for ospf it should be RID, i have seen this clarification in wendel odom CCIE written exam certification so it will be the router's interface ip in my given scenario but still thanks for the feedback, u have also refer to a cisco doc can u plz sent me the link to this doc ??

thanks

Hi Ovais,

Your correction is totally right i've gone through it while checking (first i thought that EIGRP is like OSPF but no) sorry for not editing my reply to reflect the correction, you can find the doc below:

http://www.cisco.com/en/US/docs/ios/12_0/np1/command/reference/1reigrp.html#wp1017590

HTH,

Mohammed Mahmoud.

yariv.levi1
Level 1
Level 1

which router advertise this routes A OR B ?

Review Cisco Networking products for a $25 gift card