[ovs-discuss] LACP - only 1 nic used at a time

Alex Wang alexw at nicira.com
Wed Oct 16 19:41:21 UTC 2013


Hey,

I just tried the lacp on my ubuntu machines (ovs 1.4.2).  The balance tcp
works fine.


>
> I initiated *several flows to differents destination* (differents mac /
> IP / subnet) and flows never split over the 2 NICs
> (Yes I am aware that a single flow will use only 1 NIC, the issue is with
> differents flows that all use the same NIC)
>


Did you use ping or small throughput traffic?  The rebalance will be
triggered when there is obvious imbalance in slave's throughput. (check the
bond.c for exact algorithm)


# ovs-appctl bond/show xenbond0
> bond_mode: balance-tcp
> bond-hash-algorithm: balance-tcp
> bond-hash-basis: 0
> updelay: 0 ms
> downdelay: 0 ms
> next rebalance: 3840 ms
> lacp_negotiated: true
>
> slave eth1: enabled
>         may_enable: true
>
> slave eth0: enabled
>         active slave
>         may_enable: true
>
> Why eth0 is active slave and not eth1?
>

You can set the active slave by using "ovs-appctl bond/set-active-slave
[bond] [interface]".

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131016/4b85c7e2/attachment.html>


More information about the discuss mailing list