Cisco Systems Load Balancing Multiple Cisco Routers with Multiple ADSL circuits

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Load Balancing Multiple Cisco Routers with Multiple ADSL circuits Big Phil 05-01-07
Posted by Big Phil on May 1, 2007, 5:39 am
Please log in for more thread options
Hi,

I need to provide a large amount of bandwidth to one site. I'm
thinking about having 20 or so ADSL circuits installed as opposed to a
E1 or E3 circuit as this site will only be up and running for a few
months so i need the flexablity of ADSL and SDSL and E1/E3 the costs
are to prohibative. So i need a way to load balance these lines. I'm
thinkiing of using a router from the Cisco2800 or 3800 series. I'm
aware that these routers can only take a a maximum of 4 ADSL HWIC's.
Our ISP will be bonding sets of 4 ADSL lines for us. This there a way
that i can load balance 4 routers into one large virtual pipe? ie 4
routers each with a bonded set of 4 adsl circuits.

Also is it possible to to radius on the internal LAN to restrict
outward traffic? ie like an ISP but on a LAN.

Any thoughts welcome

Phil


Posted by on May 1, 2007, 6:27 am
Please log in for more thread options
Hi Phil,

It depends what kind of traffic you will need to carry over those
links. Is it normal Internet traffic (large amount of TCP/UDP flows
destinated to different IP addresses) ?

If so, the solution is quite simple, you can use CEF load balancing to
share the load on the 20 links.

Here is a simple solution with 5 routers:

R0 would need 5 FastEthernet ports, one connected to the LAN and one
to each of the DSL routers. You can then simply use CEF load-
balancing. You do not need to configure anything to enable it, it is
enabled by default.

The difficult part is to correctly configure the routing tables. If
you do it statically:

Each of the DSL routers should have 1 route to the LAN and 1 or 4
default routes to the Internet (depending if your for links are
bundled or not).

On R0, you will need 5 default routes to the internet, one for each
DSL routers.

Keep in mind that CEF is doing per flow load-balancing, so if you do
not have a large amount of flows load balancing will be unequal.

Also, you will need to configure NAT on each DSL router to be sure
that flows going to the internet through different routers have
different source IP addresses (else, there wont be any load balancing
in the Internet -> LAN direction).

NetExpert

--
Ask me question on www.bananask.com : www.bananask.com/ask_NetExpert


Posted by Trendkill on May 1, 2007, 8:00 am
Please log in for more thread options
On May 1, 6:27 am, net_exp...@cactusnet.be wrote:
> Hi Phil,
>
> It depends what kind of traffic you will need to carry over those
> links. Is it normal Internet traffic (large amount of TCP/UDP flows
> destinated to different IP addresses) ?
>
> If so, the solution is quite simple, you can use CEF load balancing to
> share the load on the 20 links.
>
> Here is a simple solution with 5 routers:
>
> R0 would need 5 FastEthernet ports, one connected to the LAN and one
> to each of the DSL routers. You can then simply use CEF load-
> balancing. You do not need to configure anything to enable it, it is
> enabled by default.
>
> The difficult part is to correctly configure the routing tables. If
> you do it statically:
>
> Each of the DSL routers should have 1 route to the LAN and 1 or 4
> default routes to the Internet (depending if your for links are
> bundled or not).
>
> On R0, you will need 5 default routes to the internet, one for each
> DSL routers.
>
> Keep in mind that CEF is doing per flow load-balancing, so if you do
> not have a large amount of flows load balancing will be unequal.
>
> Also, you will need to configure NAT on each DSL router to be sure
> that flows going to the internet through different routers have
> different source IP addresses (else, there wont be any load balancing
> in the Internet -> LAN direction).
>
> NetExpert
>
> --
> Ask me question onwww.bananask.com:www.bananask.com/ask_NetExpert

I don't think this is correct. If you use static routes, it will not
load balance. Traffic will match the first route, and the first route
only, until it fails. The only wait it would fail is if it had a
destination of an interface instead of a next-hop, and that interface
went down. Then and only then would it go to the next static route.
If you want to load balance, you MUST run a routing protocol that
knows about equal cost routes to the destination AND supports load
balancing.


Posted by NetExpert on May 1, 2007, 12:22 pm
Please log in for more thread options
Hi Trendkill,

Thanks for jumping in.

Equal-cost load-sharing with CEF works without any problem with static
routes as long as you do not play with the administrative distance. By
default this value is 1. If all the static routes have the same
administrative distance, all of them will be added to the routing table.
In latest IOS versions CEF supports up to 16 routes for load-balancing.

What you are describing is only true if you tuned the administrative
distance to use one static route as the backup of others.

I would recommend reading ‘Routing TCP/IP Volume 1’ (Cisco Press). The
third chapter explains CEF load-balancing with static routes in detail.

Routing protocols are only needed in case you want to do unequal-cost
load-sharing, which is not needed in Phil’s setup.

Let me know if you need more details on this

NetExpert

--
Ask me question on www.bananask.com : www.bananask.com/ask_NetExpert


Similar ThreadsPosted
Load Balancing Multiple Cisco Routers with Multiple ADSL circuits May 1, 2007, 5:39 am
Load balancing multiple bgp full feeds + some backups December 7, 2006, 6:00 pm
Load balancing between T1 and ADSL December 4, 2005, 2:09 pm
Load balancing betwin T1 and Adsl December 4, 2005, 2:00 pm
Load Balancing 3 ADSL lines January 9, 2007, 2:06 am
load balancing adsl and sdsl August 17, 2007, 11:40 am
Re: BGP and load balancing two routers October 17, 2005, 10:48 am
Re: BGP And Load Balancing With Two Routers October 17, 2005, 1:27 pm
Load Balancing 2 T1s with 2 routers April 10, 2008, 3:42 pm
Load-balancing across four T1's on 2 routers August 30, 2006, 10:14 pm
Channel Bonding/Load Balancing accross 2 ADSL lines. July 11, 2005, 3:12 am
837 ADSL and Multiple Dialers January 25, 2006, 9:58 pm
Pix 520 and Multiple ADSL lines March 13, 2006, 4:31 am
VPN Concentrator and multiple routers August 27, 2007, 9:31 am
ADSL, 1841 ISR Router and multiple static IPs December 11, 2005, 11:38 am