LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Multiple instances of NIC Bonding on Ubuntu Server (https://www.linuxquestions.org/questions/linux-networking-3/multiple-instances-of-nic-bonding-on-ubuntu-server-663919/)

GeneNZ 08-19-2008 05:13 PM

Multiple instances of NIC Bonding on Ubuntu Server
 
Hi All,

I currently having issues with creating multiple instances of NIC Bonding on Ubuntu Server 8.04, running on a HP DL385G2.

I can successfully create one instance of NIC Bonding across two interfaces (eth2 and eth3, broadcom NICs), using the following guide http://www.howtoforge.com/network_bonding_ubuntu_6.10.

I want to create another instance of NIC bonding utilising eth0 and eth1 (Intel PRO1000 NICs), however, after duplicating the instructions in the above guide to create a new "bond1", and restarting the network, I receive an error indicating there is no such device "bond1".

Any help would be very much appreciated, below are the modifications to various files to try get bond0 and bond1 going.

(1) /etc/modprobe.d/aliases:
Code:

alias eth0 e1000
alias eth1 e1000
alias eth2 bnx2
alias eth3 bnx2

# alias net-pf-10 ipv6
alias bond0 bonding
options bond0 mode=0 miimon=100

alias bond1 bonding
options bond1 mode=0 miimon=100

(2) /etc/modutils/actions
Code:

probeall bond0 eth2 eth3 bonding
probeall bond1 eth0 eth1 bonding

(3) /etc/network/interfaces
Code:

# The loopback network interface
auto lo
iface lo inet loopback

auto bond0
iface bond0 inet static
        hwaddress ether 00:16:3e:35:8c:89
        address 10.240.1.200
        netmask 255.255.252.0
        gateway 10.240.1.1
        dns-nameservers 10.240.1.210
        up ifenslave bond0 eth2 eth3
        down ifenslave -d bond0 eth2 eth3

auto bond1
iface bond1 inet static
        hwaddress ether 00:16:3e:20:b4:65
        address 192.168.200.200
        netmask 255.255.255.0
        up ifenslave bond1 eth0 eth1
        down ifenslave -d bond1 eth0 eth1

Thanks in advance for any help you could provide me.

Gene


All times are GMT -5. The time now is 04:11 PM.