nic-bonding

Tom H tomh0665 at gmail.com
Tue Jul 26 16:30:52 UTC 2011


2011/7/25 Reza Ambler <Reza.Ambler at vintalk.com>:
>
> I believe I fixed part of the issue by adding the follwing to my /etc/modprobe.d/bonding.conf
>
> options bonding max_bonds=2
>
> now both of my bond interfaces are showing up, however I cannot seem to ping out from those interfaces.
>
> The file /proc/net/bonding/bond0 shows MII Status: down, I believe this means the link is showing down state on both ends.
>
> -----Original Message-----
> From: Reza Ambler
> Sent: Monday, July 25, 2011 8:45 AM
>
> I have 2 NIC cards in my system, each is dual-port. One of the dual-port sets is on-board a supermicro motherboard, the other is added in via PciX.
>
> 1st Model : Dual Intel 82574L (on supermicro board, 6016T-MTHF)
> 2nd Model : EXPI9402PTBLK
>
> My NIC devices and respective MACs
> eth0/1 are part of the same controller
> eth2/3 are part of the same controller
>
> 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>    link/ether 00:1b:21:a5:3d:ee brd ff:ff:ff:ff:ff:ff
>
> 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>    link/ether 00:1b:21:a5:3d:ef brd ff:ff:ff:ff:ff:ff
>
> 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
>    link/ether 00:25:90:31:84:7c brd ff:ff:ff:ff:ff:ff
>
> 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>    link/ether 00:25:90:31:84:7d brd ff:ff:ff:ff:ff:ff
>
> My /etc/modprobe.d/bonding.conf settings:
> alias bond0 bonding
> options bonding mode=1 miimon=100
> alias netdev-bond1 bonding
> options bonding mode=1 miimon=100
>
> My /etc/networking/interfaces config:
> auto lo
> iface lo inet loopback
>
> auto eth0
> auto eth1
> auto eth2
> auto eth3
>
> auto bond0
> iface bond0 inet static
> address 64.94.xxx.xxx
> gateway 64.94.xxx.xxx
> netmask 255.255.255.128
> bond-slaves eth2 eth3
> bond-mode 1
>
> auto bond1
> iface bond1 inet static
> address 192.168.140.140
> netmask 255.255.255.0
> bond-slave eth0 eth1
> bond-mode 1
>
> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Jordon Bedwell
> Sent: Saturday, July 23, 2011 4:35 AM
>
> On Fri, July 22, 2011 9:56 am, Reza Ambler wrote:
>>
>> I have just read through the Ubuntu Bonding article and was wondering if
>> it's possible to have 2 sets of bonded NICs. I would like to have a WAN
>> bonded set, and a LAN bonded set. Is this configuration possible? So far
>> I have had 1 bond interface come up, but the 2nd one does not show.
>
> What is your configuration? And you do know that the second team cannot be
> on the same NIC's as the first team? So if you do a 2x Dual NIC team you
> need 4 NIC's in that machine.

Please bottom post.

I'm not sure whether this'll help but in "/etc/network/interfaces" you
don't need "auto ethX" and you have "bond-slave" rather than
"bond-slaves".




More information about the ubuntu-users mailing list