NIC Teaming/Bonding

jag0
Posts: 2
Joined: Sun Jan 20, 2013 12:46 pm

NIC Teaming/Bonding

Postby jag0 » Mon Jan 21, 2013 4:30 pm

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? :?:

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: NIC Teaming/Bonding

Postby sgtfoo » Tue Jan 22, 2013 7:09 am

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.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

jag0
Posts: 2
Joined: Sun Jan 20, 2013 12:46 pm

Re: NIC Teaming/Bonding

Postby jag0 » Tue Jan 22, 2013 7:12 pm

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.

howto
Posts: 2
Joined: Wed Feb 16, 2011 3:58 am

Re: NIC Teaming/Bonding

Postby howto » Thu Jan 24, 2013 5:11 am

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

Who is online

Users browsing this forum: No registered users and 3 guests