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

how to worsen iBGP routes

FRANK SCHADE
Level 1
Level 1

I have two sites which are connected via eBGP to a provider. These links are the main connection to the headquarter.

For backup purpose we use a transparent L2 link between both sites; where an iBGB neighbor ship is setup.

In case of a failure of one of the main links the traffic of the affected site should go through the iBGP neighbor and it's eBBP partner on the other site.

This works - but the fallback (when the failed router comes back) doesn't work.

Then the routing gets asymmetric.

The problem is to worsen the iBGP routes against the one from the provider.

Tried to local pref, AS path prepend etc. - but nothing works.

Isn't there a simple solution?

Thanks for your help

4 Replies 4

Laurent Aubert
Cisco Employee
Cisco Employee

Hi,

eBGP routes are preferred by default over iBGP routes so it should work.

could you post the sh ip bgp of the router when the link comes back and the eBGP session is UP again ? Also the routers BGP configuration could help as well

HTH

Laurent.

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Frank,

I guess you mean that after the failed router comes back you see traffic from HQ to the multihomed site flowing only on the other link.

And for this reason the routing becomes asymmetric.

OR

if instead it is the previously failed router that still prefers the IBGP routes to the eBGP routes coming from the provider I would suggest to use an high value of weight.

RA:

router bgp your.ASN

neigh ebgp-peer weight 40000

this should provide correct restore of eBGP routes whatever config you have.

In any case I agree with Laurent, to understand why this happens you should provide the configurations.

Hope to help

Giuseppe

Hi:

No extra configuration should be needed. As laurent pointed out, eBGP is always preferred over iBGP. So once the eBGP neighboir is restored, that edge router should automatically select the ISP over the iBGP crosslink.

Post the configs.

Thanks

that's what was also my understanding - see the configs; hope the error is here.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card