Changing redistributed AD

Unanswered Question
May 5th, 2009

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
Loading.
lamav Tue, 05/05/2009 - 10:40

John:

Use the distance 89 eigrp form of the command.

Right now, the 89 is defaulting to just internal distance.

HTH

Victor

lamav Tue, 05/05/2009 - 10:48

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

John Blakley Tue, 05/05/2009 - 10:51

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

lamav Tue, 05/05/2009 - 10:54

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

John Blakley Tue, 05/05/2009 - 10:48

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 acl

The acl option allows for me to specify networks, but it seems to only affect internal routes and not external.

Thanks,

John

lamav Tue, 05/05/2009 - 10:51

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

John Blakley Tue, 05/05/2009 - 10:53

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?

lamav Tue, 05/05/2009 - 10:56

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

John Blakley Tue, 05/05/2009 - 10:59

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

lamav Tue, 05/05/2009 - 11:06

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

John Blakley Tue, 05/05/2009 - 11:11

It's quite alright :) I don't offend easily! And I agree, there is a lot of "seriousness" to this board.

John

lamav Tue, 05/05/2009 - 11:12

I was hoping to smoke Jon out with that last comment...he must have gone to bed...lol

thotsaphon Tue, 05/05/2009 - 10:57

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

lamav Tue, 05/05/2009 - 10:59

Toshi, I just said that 1,451 times....maybe 1,452, actually. :-)

lamav Tue, 05/05/2009 - 11:03

John, all kidding aside. Do you have any other question?

It got a little confusing with all the posts going back and forth at lightening speed...lol

Victor

thotsaphon Tue, 05/05/2009 - 11:03

Victor,

That's fine. I used to get confused with this kind of thing before.

At that time I thought that "what the hell is going on? Why I can't change, Okay I can't change!" (grin)

Toshi

lamav Tue, 05/05/2009 - 11:04

Of course, Im just teasing John.

he and I go back a long time...we have a lot in common, too...

My father and his father were....fathers...:-)

thotsaphon Tue, 05/05/2009 - 11:07

Victor,

That's why I have been trying to make a serious forum to be fun. Obviously I can't! heheheh...

BTW,How are you going? Victor

Edit: Time to use the rating system for you two.

Toshi

Actions

This Discussion