Unequal Load Balance with static routes

Answered Question
Oct 4th, 2011

I have a 1841 router attached to 2 ISP's. Each ISPs provides different bandwithd. I want to do load balance between them, but I want to do some sort of weighted load blance, so as to assign more traffic to one ISP than the other. A kind of 70/30 (70% of traffic via ISP1, and 30% of traffic via ISP2).

¿Is there a way to acomplish that? I already tried creating bogus /32 routes, but "cef" seems to be more clever and groups the bogus routes as one gw.

Thanks,

Natalio.

I have this problem too.
0 votes
Correct Answer by JosephDoherty about 2 years 6 months ago

Disclaimer

The    Author of this posting offers the information contained within this    posting without consideration and with the reader's understanding that    there's no implied or expressed suitability or fitness for any  purpose.   Information provided is for informational purposes only and  should not   be construed as rendering professional advice of any kind.  Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In    no event shall Author be liable for any damages whatsoever  (including,   without limitation, damages for loss of use, data or  profit) arising  out  of the use or inability to use the posting's  information even if  Author  has been advised of the possibility of such  damage.

Posting

Not sure if it's available on an 1841, but have you considered OER/PfR?

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
nataliogatti Tue, 10/04/2011 - 08:09

Thanks Cadet Alain, but I already tried that solution, with a different behaviour. It seems that in newer IOS's Cisco have made ip cef more clever and now it groups all routes associated to the same gw in one bucket.

Natalio.

Cadet Alain Tue, 10/04/2011 - 08:14

hi,

then you can maybe try with PBR  if you haven't got delay sensitive or many udp traffic or you can try as above with cef disabled if it's ok for you to do per packet load balancing.

Regards.

Alain.

nataliogatti Tue, 10/04/2011 - 08:21

Per packet load balance is not a choice for me. The ISPs provide different bandwithd and delay.

I didn't wanted to use PBR, but it seems the only way to go. I just wanted to do weighted load balance. It can be done very simple with a Linux router, so I thought that it could also be done in Cisco.

Cadet Alain Tue, 10/04/2011 - 08:24

Hi,

PBR will also do per packet load balancing but you can use fast-switching for PBR not CEF.

Regards.

Alain.

nataliogatti Tue, 10/04/2011 - 08:44

If there is no other solution, I will go with PBR.

I will have to do wat I didn't wanted to do: manually select wich IPs/Ports redirect to each ISP.

Correct Answer
JosephDoherty Tue, 10/04/2011 - 10:29

Disclaimer

The    Author of this posting offers the information contained within this    posting without consideration and with the reader's understanding that    there's no implied or expressed suitability or fitness for any  purpose.   Information provided is for informational purposes only and  should not   be construed as rendering professional advice of any kind.  Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In    no event shall Author be liable for any damages whatsoever  (including,   without limitation, damages for loss of use, data or  profit) arising  out  of the use or inability to use the posting's  information even if  Author  has been advised of the possibility of such  damage.

Posting

Not sure if it's available on an 1841, but have you considered OER/PfR?

nataliogatti Wed, 10/05/2011 - 06:15

Joseph:

It seems that OER/PfR was the functionality I was looking for. Why I never heard of it before? And in my extensive searches never found it

Thanks.

Cadet Alain Wed, 10/05/2011 - 10:16

Hi Natalio,

if PfR is working for you would you be kind to explain how you set it up to achieve your goal because it would be interesting to see how it can solve your problem.

Regards.

Alain.

JosephDoherty Wed, 10/05/2011 - 17:27

Disclaimer

The     Author of this posting offers the information contained within this     posting without consideration and with the reader's understanding  that    there's no implied or expressed suitability or fitness for any   purpose.   Information provided is for informational purposes only and   should not   be construed as rendering professional advice of any kind.   Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In     no event shall Author be liable for any damages whatsoever   (including,   without limitation, damages for loss of use, data or   profit) arising  out  of the use or inability to use the posting's   information even if  Author  has been advised of the possibility of  such  damage.

Posting

Having used the technology, what it does is monitor actual load across the two links and inject routes for selected prefixes to bring the link loading into the proportions defined by their bandwidth statements.

Interestingly, you can start with static routing preferring just one path or both paths.  For a 70/30 split I would likely initially choose using both paths.  I had a site with a fractional (half) DS3 and a DS1.  For that, I started with all traffic directed to the DS3.

Unlikely other forms of variable bandwidth routing, whether static or EIGRP, OER/PfR isn't static it's dynamic.

Cadet Alain Thu, 10/06/2011 - 00:14

Hi Joseph,

I knew the product only theoretically via the written curriculum and basic config but I didn't know how you could achieve unequal load with it via delay/ packet drops.So it was more the implementation that was interesting me.

Regards.

Alain.

JosephDoherty Thu, 10/06/2011 - 02:38

Disclaimer

The      Author of this posting offers the information contained within this      posting without consideration and with the reader's understanding   that    there's no implied or expressed suitability or fitness for any    purpose.   Information provided is for informational purposes only  and   should not   be construed as rendering professional advice of any  kind.   Usage of  this  posting's information is solely at reader's own  risk.

Liability Disclaimer

In      no event shall Author be liable for any damages whatsoever    (including,   without limitation, damages for loss of use, data or    profit) arising  out  of the use or inability to use the posting's    information even if  Author  has been advised of the possibility of   such  damage.

Posting

Alain, I understand.

A reason I responded, I suspect Natalio may have only had read about the technology and not have a working implementation.

I would post for you an actual working configuration from my experience using the product, but I'm working for someone else who doesn't use this technology.  Unfortunately, don't have a copy of any of the configs I used to use.

I recall a configuration to support just basic load balancing is about as simple as it gets.  The only parameters I thought worth changing from their defaults was the time computation parameters, i.e. how often it OER/PfR reviews what's happening and how long a time period it analyzes.  I vaguely recall for load analysis OER/PfR would also use interface load-interval settings, but I'm not positive on that.

Actions

Login or Register to take actions

This Discussion

Posted October 4, 2011 at 7:46 AM
Stats:
Replies:12 Avg. Rating:5
Views:1569 Votes:0
Shares:0
Categories: Routers
+

Related Content

Discussions Leaderboard