Discussion:
[ovs-discuss] LACP Bonding with OpenvSwitch
Kevin Han
2012-05-16 19:54:48 UTC
Permalink
Hello,

I have 2 ethernet ports that I want to bond together using LACP, these are
the commands I'm using so far:
ovs-vsctl add-br br0
ovs-vsctl add-bond br0 bond0 eth0 eth1 lacp=active
other_config:lacp-time=fast trunks=10,20**

However, when I use: ovs-appctl bond/show bond0, I get shown that
lacp_negotiated=false.

Is there something that I might have missed? How can I successfully set up
link aggregation with my eth0 and eth1 ports?

Thank You,

Kevin Han
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120516/43de0195/attachment.htm>
Ben Pfaff
2012-05-16 20:02:01 UTC
Permalink
Post by Kevin Han
I have 2 ethernet ports that I want to bond together using LACP, these are
ovs-vsctl add-br br0
ovs-vsctl add-bond br0 bond0 eth0 eth1 lacp=active
other_config:lacp-time=fast trunks=10,20**
However, when I use: ovs-appctl bond/show bond0, I get shown that
lacp_negotiated=false.
Is there something that I might have missed? How can I successfully set up
link aggregation with my eth0 and eth1 ports?
You can find out some more information about LACP status with
"ovs-appctl lacp/show". Perhaps that is a starting point.
Kevin Han
2012-05-22 15:24:38 UTC
Permalink
Hi,

When I run ovs-appctl lacp/show I get the following output:
---- bond0 ----
status: active
sys_id: 08:00:27:9d:33:48
sys_priority: 65534
aggregation key: 1
lacp_time: slow

slave: eth0: current detached
port_id: 2
port_priority: 65535

actor sys_id: 08:00:27:9d:33:48
actor sys_priority: 65534
actor port_id: 2
actor port_priority: 65535
actor key: 1
actor state: activity aggregation collecting distributing

partner sys_id: 08:00:27:9d:33:48
partner sys_priority: 65534
partner port_id: 1
partner port_priority: 65535
partner key: 1
partner state: activity aggregation collecting distributing

slave: eth1: current detached
port_id: 1
port_priority: 65535

actor sys_id: 08:00:27:9d:33:48
actor sys_priority: 65534
actor port_id: 1
actor port_priority: 65535
actor key: 1
actor state: activity aggregation collecting distributing

partner sys_id: 08:00:27:9d:33:48
partner sys_priority: 65534
partner port_id: 2
partner port_priority: 65535
partner key: 1
partner state: activity aggregation collecting distributing

I am trying to bond 2 wireless NICs together for increased redundancy. To
do this, I am bridging both wireless cards into a virtual machine and
running open v switch from there. Could it be that this isn't possible? Are
there any settings that I might have to change on my wireless NICs (like
enabling LACP)?

Thank You and sorry for the long post,

Kevin Han
Post by Ben Pfaff
Post by Kevin Han
I have 2 ethernet ports that I want to bond together using LACP, these
are
Post by Kevin Han
ovs-vsctl add-br br0
ovs-vsctl add-bond br0 bond0 eth0 eth1 lacp=active
other_config:lacp-time=fast trunks=10,20**
However, when I use: ovs-appctl bond/show bond0, I get shown that
lacp_negotiated=false.
Is there something that I might have missed? How can I successfully set
up
Post by Kevin Han
link aggregation with my eth0 and eth1 ports?
You can find out some more information about LACP status with
"ovs-appctl lacp/show". Perhaps that is a starting point.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120522/d0e0a1e0/attachment.htm>
Jesse Gross
2012-05-23 00:10:01 UTC
Permalink
I am trying to bond 2 wireless NICs together for increased redundancy. To do
this, I am bridging both wireless cards into a virtual machine and running
open v switch from there. Could it be that this isn't possible? Are there
any settings that I might have to change on my wireless NICs (like enabling
LACP)?
Wireless NICs generally do not like bridging very much.

Loading...