Comments on How to Set up Network Bonding in Ubuntu 6.10
How to Set up Network Bonding in Ubuntu 6.10 Network Bonding, otherwise known as port trunking allows you to combine multiple network ports into a single group, effectively aggregating the bandwidth of multiple interfaces into a single connection. For example, you can aggregate two gigabyte ports into a two-gigabyte trunk port. Bonding is used primarily to provide network load balancing and fault tolerance.
8 Comment(s)
Comments
This doesn't work on Kubuntu 6.10 with RealTek (module r8169) cards.
mode=0 works sometimes - and this may be problematic because I have two dumb switches cascaded, however any other applicable mode (mode=6 for example) will not even initialize the interface. Any attempts to manipulate the interface after that causes a partial system lock up.
mii-tool doesn't work with those cards either, however, ethtool presents the same output as described.
Any feed back on this would be appreciated, and I'll be testing mode=0 on a single switch in the next week.
Sorry for the long delay in responding! I am not familiar with Realtek network cards, however if mii-tool doesn't work for the network cards that you are using, that usually means that the NICs you are using do not support bonding functionality.
Do you have any other NICs that you can through in there to get up and running?
Hi Guys,
I want to implement the fail over gateway for local network.
My /etc/network/interface file as below
##########################
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmast 255.0.0.0
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.254.0
network 192.168.0.0
broadcast 192.168.1.255
# The WAN interface 1
auto eth1
iface eth1 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
network xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
dns-nameservers xxx.xxx.xxx.xxx
# The WAN interface 2
auto eth2
iface eth2 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
network xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
dns-nameservers xxx.xxx.xxx.xxx
I like local LAN to use gateway from WAN interface 2 upon WAN interface 1 fails.
Any help on this will be much appreciated.
Hi :
Contact me - gopal[AT]viaedge[dot]com for a solution.
Thank you for such info.
I have two adsl lines, with static IP.
Is the Network Bonding applicable im my case? As I see on your post, it's possible.
Should I ask my ISP's for special protocols like BGP?
Thank you in advance.
Thanks, worked a treat.
Though, eth0 & eth1 returned errors on my Sun X4100 so I had to use eth2 & eth3.
We have had really good luck with intel cards on Mode 1, but any of the other modes have gone flaky after heavy use for a few months. Nothing to terrible, but you have to reboot the box. It has only really been a concern for our VPS hosting boxes, but once we switched everything to mode 1 we haven't had any problems. If you do not mind rebooting every once in a while, it seems to not be a problem. Some of our dedicated server hosting customers have reported really good luck with Mode 2. I think our VPS hosts probably see alot of diverse traffic and maybe that is the crux of the issue. Either way we use it on all of our boxes and it works great!
Rokabear Tech Support
Thanks for your tutorial.
Looks feasible, but I need some further hints to use this for two wifi cards. Why do you have 3x e100 in your aliases? And where can I enable dhcp and psk secrets?
Cheers
Mick