Load Balance Internet Multiple ISPs

Unanswered Question
Jan 10th, 2010
User Badges:

Hi Guys,

Just wondering what you're doing to load balanace internet traffic?  I'm interested in load balancing internet traffic (outbound -AND- INBOUND) using multiple (at least 2) ISPs.  Some of the methods I have used in the past have certain weaknesses.. basic DNS load balancer (relies on multiple IP addresses per host), OER/PFR (ability to control INbound is limited unless complex configuration and coopearation with ISPs)...  This is kind of a broad open ended question.. It seems like something that would be a common issue and am wondering what other are doing with the capabilities 2800, 2900, 3800, 3900 series routers...  Thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
urbanrunner2010 Sat, 01/16/2010 - 05:05
User Badges:

Thanks.  I was hoping to find others who are using this in the real world.  Your example does not cover the topic of load balancing INBOUND traffic.  Balancing the Outbound is less difficult..  Anyone else out there?

Haris P Sat, 01/16/2010 - 08:46
User Badges:
  • Bronze, 100 points or more

For load balancing if you have EBGP to your both upstreams , you can send  you can send prefixA  through ISP A and prefixB through ISP B .




Prefix ISP_A inbound will be through ISP_A and Prefix ISP_B thugh ISP_B


route-map ISP_A permit 10
match ip address prefix-list ISP_A

!
route-map ISP_A permit 20
match ip address prefix-list ISP_B
set as-path prepend 1234 1234 1234 1234


route-map ISP_B permit 10
match ip address prefix-list ISP_B

!
route-map ISP_B permit 20
match ip address prefix-list ISP_A

set as-path prepend 1234 1234 1234 1234


router bgp 1234
neighbor ISP_A route-map ISP_A out
neighbor ISP_B route-map ISP_B out




Like this you can balance your traffic based on your prefix


Regards

Haris

Giuseppe Larosa Sat, 01/16/2010 - 10:56
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Burt,

if you have at least two public blocks /24 you can use the configuration suggested by Haris by using selective AS path prepending.


But this requires ISPs to accept AS path prepended advertisements without attempting to summarize the routes.

So this may require some arrangements with ISPA and ISPB people.

Also you cannot expect a 50% ratio in traffic, getting some traffic back from both ISPs can be seen as a good result.


This is because one ISP can have a better connectivity to the internet towards destinations of interest. Those destinations may send traffic back to ISPA for example even if a prepended path is involved for multiple reasons like they are customers of ISPA, their ISPs have peering agreements with ISPA and not with ISPB and so on.


Hope to help

Giuseppe

snarayanaraju Sat, 01/16/2010 - 09:38
User Badges:

Hi,


It is a typical case. You have multiple ways of achieving outbound load balancing like Dynamic routing protocols/Static default route tricks with traffic ratio/OER


But INBOUND is a challenge with default IOS capability. AFAIK, Either you can use BGP load sharing in aggrement with you ISP or you have to use Load Balancer appliance like Radware linkproof or F5 which uses Authorative DNS concept


HTH


sairam

bauti1428 Wed, 07/11/2012 - 20:15
User Badges:

I know this is an old post, I was looking for something like this a year ago and we ended up buying fat pipe which handles our 3 ISP providers inbound/outbound this is also our authorataitve DNS without the need on doing any extra work with your ISP providers. We have it for a year now and so far we are impress with its capabilities and very simple to setup.

Actions

This Discussion

Related Content