Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-08-2006, 11:10 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Dual Internet Connection Load Balancing


I'm trying to setup our company's network to handle 2 internet connection and provide some load-balancing and special routing features.

We have some servers in the local network which are connected through a Linux server acting as a router to the internet. I want to add another internet connection to the router and have it load-balance the network traffic using both links.

The two connections are from 2 different ISPs and they are very fast as long as the data is transferred in their own networks, the ISPs have poor connections between them. So I when a client from ISP A connects to one of the servers I want the router to use the network interface that is linked to ISP A and the same for B. The ISPs can easily be told apart from their IP ranges.

So my goals are:

1. set-up load balancing using both the connections for traffic originating from our computers
2. in case one of the connection fails, the other should be used for all traffic
3. if possible, when one link fails I want the connections which were active on that interface to be transferred to another interface
4. packets originating from clients should be router through the interfaces linked to those clients' ISPs.

I would appreciate any hints and ideas.

How could this work for more than 2 internet connections?

Old 06-08-2006, 11:38 AM   #2
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Check out the linux advanced routing and traffic control how to


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Optimum Load Balancing Fr33B5D Linux - Networking 3 08-28-2005 10:27 AM
Load Balancing - Sharing An Internet Connection willigiann Linux - Networking 1 07-14-2005 01:18 PM
Internet load balancing learsima Linux - Networking 2 07-27-2004 09:13 PM
Balancing load internet conection learsima Linux - Software 2 07-27-2004 06:47 PM
internet connection load balancing using 2 56K modems flying_monkey Linux - Networking 6 01-18-2004 02:52 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration