Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21549 ideas, 132424 comments, 2606791 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #18948: Network bonding is

Written by mfm the 31 Mar 09 at 11:26. Category: Internet & Networking. Related project: Nothing/Others. Status: New
Rationale
Using multiple network interfaces to increase bandwidth and availability - called bonding - is a commonly used method nowadays. However, the configuration requires either some insight into linux networking or the following of instructions given by someone else. There is no tool in Ubuntu that helps doing this or checks the prerequisites to prevent problems.

61
votes
up equal down
Solution #1: Include bonding in installers network configuration
Written by mfm the 31 Mar 09 at 11:26.
During installation the installer should check if
* multiple network interfaces exist
* if they are connected
* the required kernel module exists
It then offers the option to configure bonding after installation, including
* help choosing the correct bonding mode
* download of needed components
* loading the appropriate modules
* configuring the network interfaces
109
votes
up equal down
Solution #2: Create bonding configuration tool
Written by mfm the 31 Mar 09 at 11:31.
Create a tool which takes care of bonding configuration. It should check if
* multiple network interfaces exist
* if they are connected
* the required kernel module exists

If the prerequisites are met, it offers the available network interfaces to be integrated into the bond helps with coosing the correct bonding mode, downloads the required components, loads the kernel module and configures the bond interface.
-10
votes
up equal down
Solution #3: Include auto-bonding if two or more networks are available
Written by Abra_Kadabra the 8 Apr 09 at 18:17.
Just the same as above, but all is transparent for the user.
11
votes
up equal down
Solution #4: Add feature to Network Manager
Written by Data-Base the 25 Jun 09 at 07:06.
Add this feature to Network Manager to make the configuration easy

These solution does not seems to be working well or easy
http://www.linuxhorizon.ro/bonding.html
http://www.howtoforge.com/network_bonding_ubuntu_6.10
58
votes
up equal down
Solution #5: Adding "Nic Bonding" and "Load Balancing" options to network manager
Written by FeraTech the 24 Dec 09 at 20:51.
If multiple nics are detected "Network Manager" should have the option to bond them. Once this is done, the multiple nics would no longer appear as separate tabs but as one device. Then for this "Bonded" device you have the option as to which type of bonding you want, ie failsafe or load balancing.

Then if multiple internet connections are detected you have the option to select "load balancing" allowing multiple sessions to be split amongst the connections. This is easily done with IPTABLES so should not be hard to implement:

http://linux-ip.net/html/adv-multi-internet.html


Propose your solution

Attachments
No attachments.


Duplicates


Comments
viraptor wrote on the 31 Mar 09 at 20:13
> the configuration requires either some insight into linux networking

Of course it does. Interface bonding is useful only for administrators of quite large networks / for other special scenarios. If you don't have some insight into linux networking already, then I don't see any reason why you would like to implement it... Also if you're doing it, you really should read about the details - whether you're using a howto, or not.
What is your use case?

mfm wrote on the 31 Mar 09 at 21:24
@viraptor:
It's my response to Soren Hansen: What Ubuntu Server Edition could be: http://warma.dk/blog/article/98/

Ubuntu Server has not to be difficult to install and make it reliable. If a small tool could help not-so-advanced users/admins to set up a reliable and fast network connection, it's a small step to bring it closer to be adopted by more users/admins.

viraptor wrote on the 1 Apr 09 at 21:07
A tool to make it easier, sure! But who configures anything serious during the installation stage?
Actually - who needs bonding && still uses normal installation as a deployment method... That would be a bit strange ;)

mfm wrote on the 9 Apr 09 at 07:21
@virator:
"Actually - who needs bonding && still uses normal installation as a deployment method..."

Uhhm, me?? Seriously, that would then be a use case for the after-installation-config-tool.

phiphi wrote on the 14 Apr 09 at 12:08
Why not? Connecting via cable and additional over wireless for internet access. -> More download-speed for average user.

But it should not configure automatically. If you have a UMTS-Connection available, for which you have to pay for use, it shouldn't use that unless no other connection is available.

This isn't just server stuff.

viraptor wrote on the 14 Apr 09 at 15:23
Yes - this is server / highend stuff.

Interface bonding is not the same as balancing connections over the interfaces. It means that if you setup bonding, you expect both interfaces to be connected to the same network and routed exactly the same. Bonding should be configured on both ends to really work as expected (otherwise loop protection should kick in and disable one interface).

It's for redundancy, or making your 2 * 100Mbit cards handle 200Mbit traffic. This is not for home use.

Related reading material: http://linux-ip.net/html/ether-bonding.html

mfm wrote on the 29 Apr 09 at 05:24
@viraptor: I used it at home for redundancy, but this is indeed rather unusual

@phiphi: This is Enterprise and SMB stuff, it does not get you anything, connecting 2x 10GBase-T to connect to your 2MBit-DSL-Router at home ;)

paperclip wrote on the 23 Jul 10 at 11:20
I think bonding *is* useful for home users.

My iBook, many years ago, had a useful feature where you could seamlessly switch from wireless to wired networking, presumably by bonding. Or at least you could use fall-over bonding to achieve the same result in Ubuntu, if it was easy to setup.

i.e. bond the wireless and wired networking on a laptop, and configure a preference for wired usage over wireless. Then when the ethernet cable is disconnected, all the connection continue of the wireless network.

pw4 wrote on the 2 Oct 10 at 05:04
I too think it would be useful feature. In my case, I have ADSL at home and also a 3G CDMA backup dongle for which I pay a fixed monthly fee for unlimited usage.

I was impressed by how easy it was to plug in my 3G dongle and get it working, however I mostly use ADSL (and keep the 3G dongle for when ADSL downtime). If I could plug it in alongside the ADSL router, and the OS intelligently balanced different network requests over the ADSL and 3G, it would boost my internet connectivity considerably even just browsing web pages or downloading stuff from the internet & I would get more bang for my buck.

As it stands, this kind of thing is probably do-able, however you need to go off-road somewhat into fairly geeky territory, IP tables and such like. Alternatively, there is software like Zeroshell which again is hard to configure for the layman and how do you run it? Do you run it in a VM or have a dedicated machine lying around as a network access point - it's all hassle.

For Windows, there is commercial software e.g. such as Kerio Control, but this is more of a high-end server product and the load-balancing side is just one feature of a sophisticated product targeted at network admins.

The average home user (which is a demographic Ubuntu presumably wants to attract) is not going to deal with any of this & IMO there is a considerable vacuum in this application space, especially considering that more and more people are acquiring multiple connection methods at home, be it tethered smartphones, wi-fi, 3g dongles and the like.


Post your comment