Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

need router to prefer EIGRP path vs EBGP path for same subnets.

I have a set of networks that are being advertised internally via EIGRP. I am also advertising the networks to the internet via BGP. One of my remotes is also connected to the internet and running BGP also. It is prefering to take the BGP path vs the internel EIGRP path because the administrative distance is lower. 20 for the BGP route and 170 for the EIGRP route. I have used communities to set the metric, weight and local-prefrence inbound on the remote router but it still prefers the external path. I don't want to filter the networks completely but I need to have the remote router prefer the internal EIGRP path. I can't find a nerd knob to set the administrative distance.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Gold

Re: need router to prefer EIGRP path vs EBGP path for same subne

You can target a particular network to take the IGP path by using the "network backdoor" facility in BGP. See this URL for info:

http://www.cisco.com/en/US/partner/tech/tk826/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpbackdoor

You also have the option of setting the administrative distance for ALL BGP routes above that of EIGRP, but this is not the recommended fix.

Re: need router to prefer EIGRP path vs EBGP path for same subne

You can use BGP backdoor command to prefer EIGRP routes over EBGP.

IF network X and Y are being advertised via both EIGRP and EBGP, on the remote BGPconfiguration, add the command

router bgp

.....

network X backdoor

network Y backdoor

Hope that helps!

6 REPLIES
New Member

Re: need router to prefer EIGRP path vs EBGP path for same subne

Use the "distance" command under the eigrp process to lower the administrative distance for your eigrp learned routes.

ex.

distance {ip-address {wildcard-mask}} [ip-standard-list] [ip-extended-list]

ChrisV

New Member

Re: need router to prefer EIGRP path vs EBGP path for same subne

Chris,

I think that will affect all my EIGRP routes but I can be more specific with a routemap. I don't necessarly want to change the admin distance for those netowrks in EIGRP. I think the second solution may work better in my situation. I.E. using the backdoor network under the BGP process. I will try both and let you know how it works.

THanks!!!

sj

Gold

Re: need router to prefer EIGRP path vs EBGP path for same subne

You can target a particular network to take the IGP path by using the "network backdoor" facility in BGP. See this URL for info:

http://www.cisco.com/en/US/partner/tech/tk826/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpbackdoor

You also have the option of setting the administrative distance for ALL BGP routes above that of EIGRP, but this is not the recommended fix.

New Member

Re: need router to prefer EIGRP path vs EBGP path for same subne

that's the ticket. thanks!!

Re: need router to prefer EIGRP path vs EBGP path for same subne

You can use BGP backdoor command to prefer EIGRP routes over EBGP.

IF network X and Y are being advertised via both EIGRP and EBGP, on the remote BGPconfiguration, add the command

router bgp

.....

network X backdoor

network Y backdoor

Hope that helps!

New Member

Re: need router to prefer EIGRP path vs EBGP path for same subne

that's the ticket. thanks!!

173
Views
4
Helpful
6
Replies
CreatePlease to create content