Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

HSRP standby router for traffic loadsharing

Hi All,

Can we push traffic from Lan to standby router configured in HSRP group using BGP attributes.

We have two routers connected to two service provider links and also connected to each other and running IBGP between each other and EBGP with the providers.

Can we use IBGP link to push traffic from the standby router of HSRP group.

Rgds

  • WAN Routing and Switching
7 REPLIES

Re: HSRP standby router for traffic loadsharing

Hello there,

You can manipulate routing using BGP attributes, weight, local pref, etc. But not to send to a hsrp group.

There are ways that you can load balance using hsrp. The most straight forward is to have 2 default gateways in the network and have 2 hsrp groups on the routers. One failing over to the other in times of problems.

Another way that you could do this would be to have some policy routing on the acive router and send specific traffic over to the standby router.

If you would be able to provide some more details on what you're trying to achieve, then I can advise further.

LH

** Please rate all posts **

Re: HSRP standby router for traffic loadsharing

Deepak,

it is possible what you want to achieve... but as said above you cannot manipulate BGP parameters to send tyo an HSRP group.

you can configure weights/Localpref for a particluar set of routes and make the router prefer the IBGP connection over the BGP.

So when the packets reaches the HSRP active router, it will check the routing table and choose the IBGP connection and send the packet back to the standby router towards your edge..This would add an extra hop but that should not be a concern on the LAN (<1ms).

All said the packet will always hit the active router first and there is no way BGP attribute can be manipluated to change this.

This way you can achieve load sharing on the links towards the edge but not on the links connected to LAN side of the HSRP peers.

HTH, rate if it does

Narayan

Hall of Fame Super Bronze

Re: HSRP standby router for traffic loadsharing

If you are looking for load sharing, replace your HSRP setup with GLBP:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiap_c/ch20/haipglbp.htm

New Member

Re: HSRP standby router for traffic loadsharing

Hi All,

Thanx for your inputs....

I just wanted to know...

If we run HSRP between two CE routers connected to Layer2 Switch, Can we use the standby router for loadsharing of the return traffic and forward from the central DC site enroute Active router IBGP link with the standby router ... ofcourse with manipulation of BGP attributes.

I understand all the traffic will at any point of time hit the primary router of HSRP group.

Pls advice

Regards

Re: HSRP standby router for traffic loadsharing

Hi there,

A little more detail on your config would be good.

Where have you got you iBGP peer set to? It can't be to the hsrp address, it's best to go for a loopback.

The hsrp is usually used for ensuring users have a default gateway, as routing should be able to sort itself out.

LH

** Please rate all posts **

New Member

Re: HSRP standby router for traffic loadsharing

Hi,

IBGP IP will be different from HSRP group address.

Re: HSRP standby router for traffic loadsharing

Hi,

Yes as said, its best to use loopback for the iBGP peering, and the HSRP group address just as a default gateway for your LAN.

HTH,

Mohammed Mahmoud.

186
Views
5
Helpful
7
Replies