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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-22-2011, 05:19 PM
"Reza Ambler"
nic-bonding
I forgot to include the config in the last
email, here it is.
Â*
/etc/network/interfaces:
Â*
# This file describes the network
interfaces available on your system
# and how to activate them. For more
information, see interfaces(5).
Â*
# The loopback network interface
auto lo
iface lo inet loopback
Â*
# The primary network interface
auto eth0
auto eth1
auto eth2
auto eth3
Â*
#auto bond0
#iface bond0 inet static
#address 64.94.xxx.yyy
#gateway 64.94.xxx.yyy
#netmask 255.255.255.128
#bond_slaves eth1 eth0
#bond_mode 1
Â*
#auto bond1
#iface bond1 inet static
#address 192.168.140.140
#netmask 255.255.255.0
#bond_slave eth2 eth3
#bond_mode 1
Â*
From: reza@vintalk.com
Sent: Friday, July 22, 2011 9:56
AM
To:
'ubuntu-users@lists.ubuntu.com'
Subject: nic-bonding
Â*
Hello Ubuntu Users,
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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-23-2011, 11:35 AM
"Jordon Bedwell"
nic-bonding
On Fri, July 22, 2011 9:56 am, Reza Ambler wrote:
> Hello Ubuntu Users,
>
> 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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-25-2011, 03:45 PM
"Reza Ambler"
nic-bonding
Hi Jordan,
Thanks for the response. I will post my configuration in as much detail as possible starting from the beginning. I
First my NIC configuration/setup:
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:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
auto eth1
auto eth2
auto eth3
Let me know if you require more information
Thanks again
Reza Ambler
Systems Engineer, Vintalk
(O) 858.357.8770
(F) 858.225.1877
(E) reza@vintalk.com
(W) www.vintalk.com 
-----Original Message-----
From: ubuntu-users-bounces@lists.ubuntu.com [mailto:ubuntu-users-bounces@lists.ubuntu.com] On Behalf Of Jordon Bedwell
Sent: Saturday, July 23, 2011 4:35 AM
To: Ubuntu user technical support,not for general discussions
Subject: Re: nic-bonding
On Fri, July 22, 2011 9:56 am, Reza Ambler wrote:
> Hello Ubuntu Users,
>
> 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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-25-2011, 04:39 PM
"Reza Ambler"
nic-bonding
Hey all,
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.
So a new issue to conquer!
Reza Ambler
Systems Engineer, Vintalk
(O) 858.357.8770
(F) 858.225.1877
(E) reza@vintalk.com
(W) www.vintalk.com 
-----Original Message-----
From: Reza Ambler
Sent: Monday, July 25, 2011 8:45 AM
To: 'Ubuntu user technical support,not for general discussions'
Subject: RE: nic-bonding
Hi Jordan,
Thanks for the response. I will post my configuration in as much detail as possible starting from the beginning. I
First my NIC configuration/setup:
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:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
auto eth1
auto eth2
auto eth3
Let me know if you require more information
Thanks again
Reza Ambler
Systems Engineer, Vintalk
(O) 858.357.8770
(F) 858.225.1877
(E) reza@vintalk.com
(W) www.vintalk.com 
-----Original Message-----
From: ubuntu-users-bounces@lists.ubuntu.com [mailto:ubuntu-users-bounces@lists.ubuntu.com] On Behalf Of Jordon Bedwell
Sent: Saturday, July 23, 2011 4:35 AM
To: Ubuntu user technical support,not for general discussions
Subject: Re: nic-bonding
On Fri, July 22, 2011 9:56 am, Reza Ambler wrote:
> Hello Ubuntu Users,
>
> 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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-26-2011, 03:22 PM
Tom H
nic-bonding
2011/7/25 Reza Ambler <Reza.Ambler@vintalk.com>:
>
> 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
You can have "bond-miimon 100" in "/etc/network/interfaces" rather
than "options bonding mode=1 miimon=100" in
"/etc/modprobe.d/bonding.conf".
Why do you have "alias netdev-bond1 bonding" in
"/etc/modprobe.d/bonding.conf" rather than "alias bond1 bonding"?
You need "options bonding max_bonds=2" in
"/etc/modprobe.d/bonding.conf" because it defaults to "1".
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-26-2011, 04:30 PM
Tom H
nic-bonding
2011/7/25 Reza Ambler <Reza.Ambler@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@lists.ubuntu.com [mailto:ubuntu-users-bounces@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".
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-26-2011, 11:19 PM
Fast Fish
nic-bonding
On Tue, Jul 26, 2011 at 8:22 AM, Tom H <tomh0665@gmail.com> wrote:
> 2011/7/25 Reza Ambler <Reza.Ambler@vintalk.com>:
>>
>> 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
>
> You can have "bond-miimon 100" in "/etc/network/interfaces" rather
> than "options bonding mode=1 miimon=100" in
> "/etc/modprobe.d/bonding.conf".
>
> Why do you have "alias netdev-bond1 bonding" in
> "/etc/modprobe.d/bonding.conf" rather than "alias bond1 bonding"?
>
> You need "options bonding max_bonds=2" in
> "/etc/modprobe.d/bonding.conf" because it defaults to "1".
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
You need to have a switch that can bond too.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-27-2011, 04:48 AM
Tom H
nic-bonding
On Tue, Jul 26, 2011 at 7:19 PM, Fast Fish <fastfish@gmail.com> wrote:
>
> You need to have a switch that can bond too.
It depends on the bonding mode. Modes 1 and 2, for example, don't
depend on whether the switch has a particular feature or not.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users