Page 1 of 1

NIC Teaming/Bonding

Posted: Mon Jan 21, 2013 4:30 pm
by jag0
Hi all,

I'm trying to get Amahi work on Ubuntu 12.04 with 4 NICs teamed. I'd like to keep the NIC team as it will be the storage point for all backups and video files and multiple pc's will be connecting simultaneously. Here's my problem. On a clean install, before installing Amahi, I'm able to get the NICs teamed using this https://help.ubuntu.com/community/UbuntuBonding. However, when install Amahi, I lose the team and all internet connectivity. I've already changed /etc/hdactl.conf and set $DEVICE = "bond0" and changed /usr/bin/hdactl and set "eth0" to "bond0". Still nothing, no pinging the internet or pinging my gateway. When I check the bond with ifconfig -a and cat /proc/net/bonding/bond0 i see the bond and they are up and should be working.


I've noticed that amahi constantly changes the /etc/network/interfaces file and removes the entries made before in the guide but I'm not sure where to go from here.

Anybody have any suggestions? :?:

Re: NIC Teaming/Bonding

Posted: Tue Jan 22, 2013 7:09 am
by sgtfoo
Amahi relies on eth0 named specifically as eth0 to work.

You will need to make some of your own networking changes and settings alterations to make this work, and I haven't seen much help for this in the wiki. It could work if after install you create a bond interface and name it 'eth0' so as to make Amahi see it as one interface.

How many PC are you connecting? Are they all at gigabit speeds?

Teaming 4 NICs on anything less than a hypervisor with multiple file servers or a corporate sized network with a file server, may not see any throughput gains.

Re: NIC Teaming/Bonding

Posted: Tue Jan 22, 2013 7:12 pm
by jag0
Amahi relies on eth0 named specifically as eth0 to work.

You will need to make some of your own networking changes and settings alterations to make this work, and I haven't seen much help for this in the wiki. It could work if after install you create a bond interface and name it 'eth0' so as to make Amahi see it as one interface.

How many PC are you connecting? Are they all at gigabit speeds?

Teaming 4 NICs on anything less than a hypervisor with multiple file servers or a corporate sized network with a file server, may not see any throughput gains.

Thanks for the idea, I'll give that a try. I'm going to connect 5 pc's to it, all with gigabit speeds. I'm looking to keep the bottleneck on the server to a minimum. I have a dual gigabit ethernet card from an "older" build and the motherboard I'm using also has dual NICs so I thought I utilize them both.

Re: NIC Teaming/Bonding

Posted: Thu Jan 24, 2013 5:11 am
by howto
In order to get both nic's on my motherboard to work, I have to overwrite the contents of /etc/network/interfaces before reboot. EVERY time.

auto eth0
iface eth0 inet manual
bond-master bond0

auto eth1
iface eth1 inet manual
bond-master bond0

auto bond0
iface bond0 inet static
address 192.168.1.10
gateway 192.168.1.1
netmask 255.255.255.0
bond-mode 6
bond-miimon 100
bond-slaves none