05-05-2009 10:11 AM - edited 03-04-2019 04:38 AM
All,
I'm injecting ospf routes into eigrp. The route on the other side shows:
D EX 6.6.6.6 [170/1662976] via 192.168.1.1, 00:00:35, FastEthernet0/0
I want to change the AD from 170 to something else. On the other router, I'm running eigrp and it's redistributing. On the router above, I only have eigrp. I can change the AD in an actual eigrp network:
RTR1:
router eigrp 100
network 1.1.1.1 0.0.0.0
RTR2:
distance 89 192.168.1.1 0.0.0.0 15
access-list 15 permit host 1.1.1.1
If I add 6.6.6.6 to the acl above, it doesn't get changed, but stays at 170. The 6.6.6.6 is a route that's advertised from ospf into eigrp on the other router. Is there a way that I can change this AD? I'm showing hits on the acl, so I know it's getting there.
Thanks,
John
05-05-2009 10:40 AM
John:
Use the distance 89 eigrp
Right now, the 89 is defaulting to just internal distance.
HTH
Victor
05-05-2009 10:48 AM
USING CORRECT FORM
Router#sh run | be router eigrp 10
router eigrp 10
network 192.168.5.1 0.0.0.0
distance eigrp 90 22
no auto-summary
!
no ip http server
no ip http secure-server
ip classless
!
access-list 10 permit 99.99.99.99
access-list 10 permit 100.100.100.100
!
!
Routing entry for 100.100.100.100/32
Known via "eigrp 10", distance 22, metric 28160, type external
Redistributing via eigrp 10
--output omitted--
============================================================
Notice what happens when I dont use that form of the command and just default to "distance 22".
Router#sh run | be router eigrp 10
router eigrp 10
network 192.168.5.1 0.0.0.0
distance 22 192.168.5.2 0.0.0.0 10
no auto-summary
!
no ip http server
no ip http secure-server
ip classless
!
access-list 10 permit 99.99.99.99
access-list 10 permit 100.100.100.100
!
!
!
Router#
Router#
Router#sh ip ro 100.100.100.100
Routing entry for 100.100.100.100/32
Known via "eigrp 10", distance 170, metric 28160, type external
Redistributing via eigrp 10
--output omitted--
HTH
Victor
05-05-2009 10:51 AM
Victor,
Router#sh run | be router eigrp 10
router eigrp 10
network 192.168.5.1 0.0.0.0
distance 22 192.168.5.2 0.0.0.0 10
no auto-summary
!
no ip http server
no ip http secure-server
ip classless
!
access-list 10 permit 99.99.99.99
access-list 10 permit 100.100.100.100
!
!
!
Router#
Router#
Router#sh ip ro 100.100.100.100
Routing entry for 100.100.100.100/32
Known via "eigrp 10", distance 170, metric 28160, type external
Redistributing via eigrp 10
--output omitted--
The bolded and italicized areas shows me that yours doesn't take either. You specify the network in your acl, but the distance doesn't affect the route. Maybe I'm not going crazy?
Thanks,
John
05-05-2009 10:54 AM
USING CORRECT FORM
Router#sh run | be router eigrp 10
router eigrp 10
network 192.168.5.1 0.0.0.0
distance eigrp 90 22
no auto-summary
!
no ip http server
no ip http secure-server
ip classless
!
access-list 10 permit 99.99.99.99
access-list 10 permit 100.100.100.100
!
!
Routing entry for 100.100.100.100/32
Known via "eigrp 10", distance 22, metric 28160, type external
Redistributing via eigrp 10
--output omitted--
============================================================
Notice what happens when I dont use that form of the command and just default to "distance 22".
Router#sh run | be router eigrp 10
router eigrp 10
network 192.168.5.1 0.0.0.0
distance 22 192.168.5.2 0.0.0.0 10
no auto-summary
!
no ip http server
no ip http secure-server
ip classless
!
access-list 10 permit 99.99.99.99
access-list 10 permit 100.100.100.100
!
!
!
Router#
Router#
Router#sh ip ro 100.100.100.100
Routing entry for 100.100.100.100/32
Known via "eigrp 10", distance 170, metric 28160, type external
Redistributing via eigrp 10
--output omitted--
HTH
Victor
05-05-2009 10:48 AM
Victor,
The command that you're showing may be version-centric. I don't have that option.
I can set all eigrp internal/external distances by:
distance eigrp
or I can specify the source:
distance 89
The acl option allows for me to specify networks, but it seems to only affect internal routes and not external.
Thanks,
John
05-05-2009 10:51 AM
Hello, Earth to John, Come in John...Houston...LOL
"I can set all eigrp internal/external distances by:
distance eigrp
That is exactly the command I recommend using because if you dont...
"The acl option allows for me to specify networks, but it seems to only affect internal routes and not external."
CORRECTION START
FROM FIRST MESSAGE:
the correct command is "distance eigrp
Remove the "89"
See my example.
CORRECTION END
Victor
05-05-2009 10:53 AM
LOL! Listen.... :)
Okay, so say that I want two paths, both external routes from eigrp, that I want to have different ADs? Is that not possible?
05-05-2009 10:56 AM
First of all, before we go any further, do you see the difference in the 2 versions of the command and the different results?
See my example closely.
When I use the ACL form of the command, it changes only internal routes.
When I use the option that allows me to change internal and external with no acl, it allows me to change the external, too.
Victor
05-05-2009 10:59 AM
I see the differences. I just wanted to know why I was able to set internal only and not external. It's always good to know :)
Thanks Victor!
John
05-05-2009 11:06 AM
You're welcome!
Thanks for the rating.
And by the way, you know when I get sarcastic Im just teasing you. You gotta have SOME fun on this thing! :-)
If not, you start acting like...Jon...LOLOLOL
Victor
05-05-2009 11:11 AM
It's quite alright :) I don't offend easily! And I agree, there is a lot of "seriousness" to this board.
John
05-05-2009 11:12 AM
I was hoping to smoke Jon out with that last comment...he must have gone to bed...lol
05-05-2009 10:57 AM
John,
I'm afraid that you can't change AD of EIGRP external routes with a "distance" command by using ACL.
Yes you can change it by using "distance eigrp
Edit: The latter command will affect the whole D*EX.
HTH,
Toshi
05-05-2009 10:59 AM
Toshi, I just said that 1,451 times....maybe 1,452, actually. :-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide