LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-26-2009, 08:00 AM   #1
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Rep: Reputation: 18
Question Question about bonding


I'm currently reading about bonding two interfaces with linux but, I would like to know if I can add up the speed. For example if I have two 5Mb dsl lines and bond both using the bonding kernel feature would I get 10Mb when a speed test is ran?

I have a dual balance setup with these two lines and everytime I run a speed test I get 5Mb.

Thanks in advanced.
 
Old 10-26-2009, 08:14 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

To my knowledge bonding gives you the possibility to have a hot standby or load balancing. Speed is not increased (it is actually decreased a little bit by the overhead, but that is hardly noticeable).

If set up correctly (2 physical network cards, not 2 interfaces on the same physical card) it will provide some fault tolerance (either network card can fail, the bonding makes sure the other card is used and you get time to replace the faulty card without down time).

I'm not sure how to implement your wish (2 cards -> double the network speed), I'm not even sure if that is possible.

Hope this helps.
 
Old 10-26-2009, 04:07 PM   #3
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Original Poster
Rep: Reputation: 18
I thought I read that somewhere (I guess I dreamed about it then).

So there isn't a way to two or three lines and add them up?
 
Old 10-26-2009, 04:53 PM   #4
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Original Poster
Rep: Reputation: 18
Here's something about it:

http://www.linuxplanet.com/linuxplan...orials/6414/1/
 
Old 10-26-2009, 05:30 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well you can get extra throughput with bonding directly if you pick the right mode, but that's only on a layer 2 implementation. For DSL LB and the likes, look up good old lartc.org chapter 4 all the way. The link above will be of no use if you are using different network routes on each link.

You'll be very unlikely to ever see a change in a speed test result, as that is going to usually be only one tcp connection to pull some data, which will always take a single route. Your use of both links come in when probability and the likes spreads multiple links to multiple destinations outbound over the two connections.

Last edited by acid_kewpie; 10-26-2009 at 05:33 PM.
 
Old 10-26-2009, 06:18 PM   #6
maxrate
LQ Newbie
 
Registered: Oct 2009
Location: Toronto, Ontario, Canada
Distribution: Fedora Core
Posts: 3

Rep: Reputation: 0
Bonding DSL

For a layer-2 bond (to double your bandwidth) you would need 'control' at both ends of the connection. Your best bet is to call your ISP and see what they could offer you (if they offer anything) as to bond two channels into one faster channel, something needs to be done/programmed into the switching/routing equipment at the ISP level.

I have done this with my ISP - something had to be done at the ISP itself for it to work properly.
 
Old 10-26-2009, 09:10 PM   #7
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Original Poster
Rep: Reputation: 18
I don't know what to do. Like I mentioned before, I already have a load balance with tc working ok but, noticed that the live messenger drops connections maybe is because it sends a packet one direction and the other direction or through the other route. Also, I cant login from neither dsl lines via ssh. I don't know why. But, I'm trying to get all these issues resolved but, don't know which direction to go here.

Any ideas?
 
  


Reply



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
bonding bonding-xor and bonding-alb Chrysalis Linux - Networking 1 10-24-2009 02:14 PM
bonding question omghai2u Slackware 4 08-06-2009 10:45 AM
Interface bonding question bajones Linux - Newbie 2 07-21-2008 11:40 AM
question about bonding.o sugar2 Linux - Networking 4 11-11-2006 05:07 PM
NIC Bonding in RHEL question gn00kie Linux - Networking 2 01-31-2006 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration