Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 13:31:47 -0600
From:      Thomas Donnelly <tad1214@aol.com>
To:        Eugene Grosbein <egrosbein@rdtc.ru>
Cc:        "net@freebsd.org" <net@freebsd.org>
Subject:   Re: lagg/lacp poor traffic distribution
Message-ID:  <E2BD5AE7-6A15-4FD9-A4B3-C0E14606DE02@aol.com>
In-Reply-To: <4D0CFEFF.3000902@rdtc.ru>
References:  <4D0CFEFF.3000902@rdtc.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 18, 2010, at 12:35 PM, Eugene Grosbein <egrosbein@rdtc.ru> wrote:

> Hi!
>=20
> I've loaded router using two lagg interfaces in LACP mode.
> lagg0 has IP address and two ports (em0 and em1) and carry untagged frames=
.
> lagg1 has no IP address and has two ports (igb0 and igb1) and carry
> about 1000 dot-q vlans with lots of hosts in each vlan.
>=20
> For lagg1, lagg distributes outgoing traffic over two ports just fine.
> For lagg0 (untagged ethernet segment with only 2 MAC addresses)
> less than 0.07% (54Mbit/s max) of traffic goes to em0
> and over 99.92% goes to em1, that's bad.
>=20
> That's general traffic of several thousands of customers surfing the web,
> using torrents etc.  I've glanced over lagg/lacp sources if src/sys/net/
> and found nothing suspicious, it should extract and use srcIP/dstIP for ha=
sh.
>=20
> How do I debug this problem?
>=20
> Eugene Grosbein

I'm not familiar with the freebsd implementation but Cisco load balances bas=
ed on destination Mac address so If everything is headed towards the gateway=
, they will all go over one link. Check the load balancing algorithm on both=
 sides. I usually balance on src+dst mac.=20

-=3DTom



> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E2BD5AE7-6A15-4FD9-A4B3-C0E14606DE02>