Link aggregation using LACP
Naresh
gbal.naresh at gmail.com
Fri Sep 30 15:26:53 UTC 2011
Since my hosts LACP timeout is 30 seconds, switch is waiting for 3 LACP pkts, before it confirms link is down. So recovery is taking 90 secs.
Will this timeout values also be negotiated between switch and host to
max value? If that is the case how to set freebsd LACP timeout to one second?
Already I have set switch LACP timeout to one sec.
-Naresh.
On 29-Sep-2011, at 11:44 PM, Andrew Thompson <thompsa at FreeBSD.org> wrote:
> On 30 September 2011 05:42, Naresh <gbal.naresh at gmail.com> wrote:
>> Hi All,
>>
>> I am working on a 10Gb Ethernet driver for FreeBsd 8.2. When I enable link aggregation using LACP mode on two ports of our card, I expected load to be balanced on two ports(both are up). But interestingly traffic is flowing on only one interface.
>
> Have a look at lagg_hashmbuf() which generates the hash number to
> choose the port. It uses the ethernet and ip headers for this so
> ensure your test traffic has enough variation.
>
>> If I administratively bring down the interface on which traffic is flowing, I see lot of packet loss for about 30 secs, After that it picks up.
>
> We don't send a gratuitous arp when the links change, maybe this is
> causing your switches to not update quickly. We also use the slow lacp
> timer.
>
>
> Andrew
More information about the freebsd-drivers
mailing list