FreeBSD if bridge Interface Bonding
From NSMWiki
FreeBSD's if_bridge supports bonding to create bridge0. In the following example from /etc/rc.conf, physical interfaces sf2 and sf3 are bridged to create a single bridge0 interface.
ifconfig_sf2="up" ifconfig_sf3="up" cloned_interfaces="bridge0" ifconfig_bridge0="addm sf2 addm sf3 monitor up"
Because bridge0 is created at boot using /etc/rc.conf, bridge0 can be used in /usr/local/etc/rc.d startup scripts at boot.
To create bridge0 outside /etc/rc.conf, try this:
# ifconfig sf2 up # ifconfig sf3 up # ifconfig bridge0 create # ifconfig bridge0 addm sf2 addm sf3 monitor up
The bridge0 interface looks like this on FreeBSD 6.x:
$ ifconfig bridge0
bridge0: flags=48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,MONITOR> mtu 1500
ether c6:b7:d5:68:dc:d1
priority 32768 hellotime 2 fwddelay 15 maxage 20
member: sf2 flags=3<LEARNING,DISCOVER>
member: sf3 flags=3<LEARNING,DISCOVER>

