Dual Homed BGP Optimization question

Unanswered Question
Mar 28th, 2007
User Badges:

I have 2 border routers, each connect to a different ISP at about the same speed of 20mbs. I only get a default route from both the ISP's. I use HSRP for a failover so all the traffic goes out the main router.

Is there a better way to do this? I'm afraid that if I lose routes but not one of my interfaces at layer 2 I won't fail over properly since HSRP won't detect this. I also don't think outbound traffic will be going out the optimal path but is returning on the optimal path.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
royalblues Wed, 03/28/2007 - 04:21
User Badges:
  • Green, 3000 points or more


This would depend on what type of protocol you run between your ISP and how are you exchanging the routes.

If you run BGP, then then any link issues between your provider and CE would cause it bring down causing the peer to flush down the routes you advertise.

You can run IBGP between your edge routers so that even though HSRP doesn't failover the traffic is diverted to the 2nd router (though it adds an additional hop but should be <2ms on the LAN)

The internet would see the route to your subnets as best from the other ISP till the primary link comes up.

There may be issues if you are running static routes with the ISPs. You should be able to achieve it by doing some object tracking but the configurations may be a bit more complex.

HTH, rate if it does


rolandshum Wed, 03/28/2007 - 07:09
User Badges:


I am running BGP to both my ISP's. I have routes that I exchange with them but I'm not getting a full routing table, they are just forwarding a default route to me.

Should I ask them to forward me their routes or their full routing tables? I didn't plan on taxing my router's cpu by processing a full internet routing table which is why I initially set it up with HSRP, that and my lack of experience with BGP.

royalblues Wed, 03/28/2007 - 08:39
User Badges:
  • Green, 3000 points or more

As pointed above you should not receive entire routing table.

What i am suggesting is to run another IBGP session between your wan edge routers. Each router should see 2 default routes but the EGBP route would take preference.

Once your BGP to ISP1 fails the router would install the default route from your IBGP peer and take that route.

HSRP will not failover in this case but things work out (just an extra hop is added)

HTH, rate if it does



This Discussion