LACP Setup

Synopsis:

Link aggregation increases bandwidth and resilience of Ethernet connections. LACP is defined in IEEE 802.3ad.


I. Setup with direct commands
Log into the Freebsd system as root. (Assumes networking is already configured.) In these examples, the two interfaces are named re0 and re1 and the laggport will be seen with IP address 10.1.1.10/24.
#
# ifconfig re0 up
# ifconfig re1 up
# ifconfig lagg0 create
# ifconfig lagg0 up laggproto lacp laggport re0 laggport re1 10.1.1.10/24
#
II. Setup persistant LACP in /etc/rc.conf

ifconfig_re0="up"
ifconfig_re1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport re0 laggport re1 10.1.1.10/24"

For more information, see the FreeBSD Handbook.