Interfaces aggregation in FreeBSD

Way to make my laptop happy with interface aggregation. Now i don’t need to remember, which connection i should use at home, at office, at many other places — I have only one interface with dhcp client enabled.

Physical layer will me selected automagically, when presents

Receipe was stolen from PC-BSD-8.1-Beta1

#Auto-Enabled NICs with interfaces aggregation

wlans_ath0="wlan0" # wlan(4) interfaces for ath0 device

ifconfig_jme0="up"

ifconfig_ath0="`ifconfig jme0 ether`"

ifconfig_ath0="ether ${ifconfig_ath0##*ether }"

cloned_interfaces="lagg0"

ifconfig_lagg0="laggproto failover laggport wlan0 laggport jme0 DHCP"

ifconfig_wlan0="WPA"

background_dhclient="NO" # Start dhcp client in the background.

#background_dhclient_fxp0="YES" # Start dhcp client on fxp0 in the background.

synchronous_dhclient="YES" # Start dhclient directly on configured

# interfaces during startup.

defaultroute_delay="10" # Time to wait for a default route on a DHCP interface.