LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-23-2009, 02:49 AM   #1
thet.zawko
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Thumbs up Bandwidth load balancing between 2 ISP


Hi all

I'm a linux newbee. I need ur help.

Now I have 2 internet connection with 2 ISP. 1 connection is Wireless broadband and the other is ADSL.

I want to combine these 2 connections for getting more bandwidth.

I want to use linux box for that implementation. I want to use Red Hat Enterprise Linux 5 but want to know which distribution is good for this situation.

How could I configure? Give me a peice of advice.

Thanks.
 
Old 09-23-2009, 07:51 AM   #2
ngiamol
Member
 
Registered: Apr 2009
Location: Athens - Hellas (greece)
Distribution: Centos
Posts: 36

Rep: Reputation: 16
What you asking is called bonding. Bonding gives the "sum" of 2 or more internet or lan connections. (multiplier of 2)

Lets say that you have 2 adsl 24/1 mbit connections. Bonding can give you one 48/2 connection which also used as redundant

To do that, you need 2 same speed connections of the SAME ISP.
The isp MUST provide you with ONE IP ADDRESS and ONE USERNAME/PASSWORD for both connections. That means that your ISP MUST SUPPORT bonding.

After that, you need a specific router which supports bonding. Cisco and some models of Zyxel can support that.

Regards
 
Old 09-23-2009, 08:21 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
RHEL bonding: http://www.linuxtopia.org/online_boo...nterfaces-chan, but as above mentioned, both must be same ISP.
 
Old 09-23-2009, 08:55 PM   #4
thet.zawko
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Hi ngiamol and christm01

2 ISPs are not the same. Wireless provider give me the static IP address for their link. ADSL provider use DHCP. They use different IP address classes. Both are 512Kbps connections.

I don't wanna user hardware solution like cisco devices because of my budget.

I've read some bonding articles on the Internet. They require to make kernel patch. Is it possible in RHEL distribution. As I'm a linux newbee, I want less effort solution.

My design goal is
-To get more bandwidth and use the internet connections more effectively.
-No need to manually configure on users' pcs to access these links.
-I wanna make sure for high availability. One link goes down, the other is available.

Give me some more advice. Thanks for your kindness.

Last edited by thet.zawko; 09-23-2009 at 08:58 PM.
 
Old 09-25-2009, 03:59 AM   #5
ngiamol
Member
 
Registered: Apr 2009
Location: Athens - Hellas (greece)
Distribution: Centos
Posts: 36

Rep: Reputation: 16
Bonding with different ISPs cannot be done. Possibly via a way of tunneling, but not bonding.

If you looking for a way to use more effectively your connections, you can use a router (software or hardware) and separate kind of traffic for each connection.

(example) all http connections will go through isp 1, and all torrent/ftp/other traffic from isp 2.

Regards
 
Old 07-14-2011, 05:33 AM   #6
Linux Chips
LQ Newbie
 
Registered: Jul 2011
Posts: 21

Rep: Reputation: Disabled
hi...
i know its been along time, but in case you still need this and/or any one is looking for it (as i am) consider these links

http://kb.linuxvirtualserver.org/wiki/Load_balancing

you will need a layer 4 load balance... here is a howto

http://www.ssi.bg/~ja/nano.txt

i did not try it... but i think i will... i will post my results if all gone ok.
 
Old 07-14-2011, 05:36 PM   #7
biggie_
LQ Newbie
 
Registered: Jul 2011
Distribution: arch,ubuntu
Posts: 17

Rep: Reputation: 1
My pfSense router (VM) supports load balancing and failover for multiple WANs.
 
  


Reply

Tags
balance, internet, isp, load


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi ISP load balancing Skillz Linux - Networking 8 03-13-2012 01:54 PM
Bandwidth Load balancing for linux depam Linux - Networking 2 02-21-2009 12:11 AM
Load balancing two ISP links on Suse9.0 akistam Linux - Networking 1 02-05-2009 12:02 PM
Load balancing two isp and two local run_time Linux - Networking 0 01-12-2008 12:15 PM
Need help with Dual ISP load balancing with IPTables daemonik Linux - Networking 2 12-04-2006 11:54 AM


All times are GMT -5. The time now is 06:53 PM.

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