From: Michael Snyder (msnyder@revolutioncomputer.com)
Date: Sat Jan 10 2004 - 23:27:18 GMT-3
You do know that distance command uses a wildcard?
The ios help is wrong. It shows mask.
I tried for years to get the any distance command to work. No luck.
Then found an example on cco. It used a wildcard.
R2#show ip route 192.168.4.4
Routing entry for 192.168.4.0/24
Known via "rip", distance 120, metric 4
Redistributing via rip
Last update from 172.30.124.4 on Serial0.24, 00:00:17 ago
Routing Descriptor Blocks:
* 172.30.124.4, from 172.30.124.4, 00:00:17 ago, via Serial0.24
Route metric is 4, traffic share count is 1
R2(config-router)#router rip
R2(config-router)#distance 116 172.30.124.4 ?
A.B.C.D IP address mask
R2(config-router)# distance 116 172.30.124.4 0.0.0.0
R2(config-router)#exit
R2(config)#exit
R2#show ip route 192.168.4.4
Routing entry for 192.168.4.0/24
Known via "rip", distance 116, metric 4
Redistributing via rip
Last update from 172.30.124.4 on Serial0.24, 00:00:03 ago
Routing Descriptor Blocks:
* 172.30.124.4, from 172.30.124.4, 00:00:04 ago, via Serial0.24
Route metric is 4, traffic share count is 1
Anyway, it should say wildcard, not mask.
Had I used 255.255.255.255 it wouldn't have worked.
Always use the value of from in the show ip route. In this case it was
from 172.30.124.4, 00:00:04 ago, via Serial0.24
-----Original Message-----
From: Hossam [mailto:sam6626@yahoo.com]
Sent: Saturday, January 10, 2004 5:14 PM
To: ccielab@groupstudy.com
Subject: Distance Command with EIGRP - External routes.
Guys,
Can we change the default AD for external EIGRP routers from 170? I am
trying to use the distance command under eigrp to make the AD = 160. I
can't do it.
i tried all the Distance command posibalities. I tried with or without
access list. I tried using the router ID in the router ip address. I
treid the advertising interface IP address in the router ip address.
BUT NO HOPE.
I can easily change the AD for internal EIGRP routes from 90 to anything
else. To do this i use
Distance 95 <ip address> (I use neighbour interface ip) <wild card mask>
And it works.
But i can't reach a way to make it work with External routes ..
Any comments/advice!!!
thanks
---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:39 GMT-3