Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

Multiple Weighted BGP Routing

Hi All,

I have an interesting problem with my current router setup that I wonder if anyone has any suggestions for.

I have two data centres both with their own /25 public IP range that peer with my ISP for BGP. For resilience I have a sub interface on the routers for the other data centre IP range with a higher weighted BGP config so if the router or link goes down the ISP will forward on to the higher weighted route (i.e. the failover DC).

All works fine and under failover conditions however I now have a requirement to be able to route externally to each data centre and of course due to the fact the router has a interface already with that range on it the packets are terminated locally. I guess what I need is for the router to ignore the locally connected backup bgp interface when routing but not quite sure how this can be achieved.

Possible solution is to use event tracking perhaps to keep track of remote IP and no shut the local interface should it go down or similar but seems a little clunky.

Does anyone have any ideas of a way forward/workaround or even document that may offer some kind of solution?

Thanks in advance.


Re: Multiple Weighted BGP Routing

I think I would try conditional advertisement in this case, although it won't switch over as fast as the two advertisements being advertised all the time.

If you had a shorter prefix, you might be able to advertise a longer pair to cover the same space out either side--IE:

-,, &

-,, $

Out either side, but since you are running /25's already, this isn't going to be possible, I don't think.




Re: Multiple Weighted BGP Routing

What you need to do, You have to look on BGP multihoming feature. That will give you redudancy as well as use of both lines.

You cna easily fine Multihoming configuration examples on cisco portal.

Let me know if requirement is different.


Dharmesh Purohit

CreatePlease to create content