Bug 208235

Summary: Link Aggregation Lacp not working on 10.3-RC3
Product: Base System Reporter: sk8harddiefast
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: New ---    
Severity: Affects Many People CC: emaste, girgen
Priority: ---    
Version: 10.3-BETA2   
Hardware: amd64   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185967

Description sk8harddiefast 2016-03-23 10:53:36 UTC
This is the output of uname -a

FreeBSD FreeBSD 10.3-RC3 FreeBSD 10.3-RC3 #0 r296998: Fri Mar 18 01:08:19 UTC 2016     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

This is my /etc/rc.conf

#ifconfig_re0="inet netmask"
ifconfig_lagg0="laggproto lacp laggport msk0 laggport re0"

My /etc/hosts.allow

ALL : ALL : allow

My /etc/resolv.conf


Using failover everything works. Using lacp I get error on boot 

ifconfig_create: Bad value

Also lagg0 gets active but msk0 and re0 are completely down.
Comment 1 Palle Girgensohn freebsd_committer 2016-03-25 11:47:26 UTC
I see the same thing with 10.2-RELEASE using bxe.

Had to use loadbalance, the lacp just refused. On multiple machines running 10.2p12 or similar.

this works:

ifconfig_lagg0="laggproto loadbalance laggport bxe0 laggport bxe1"

this doesn't

ifconfig_lagg0="laggproto lacp laggport bxe0 laggport bxe1"

can't remember exactly how the error was described, but I couldn't get it working.
Comment 2 Palle Girgensohn freebsd_committer 2016-03-25 11:56:25 UTC
the original report rings a bit like it would be an rc-script bug.

What I saw was that ifconfig didn't work at all. don't remeber exact wording of error messages, and machines are in production now, so I can't really test it on them. It works fine for an older machine with 1gbit bce, but the 10gbit bxe failed.