Ng one2many
From FBSD_tips
This bonding scheme should work with any switch.
Setup :
ifconfig xl0 up
ifconfig dc0 up
kldload /modules/ng_ether.ko
# Plumb nodes together
ngctl mkpeer xl0: one2many upper one
ngctl connect xl0: xl0:upper lower many0
ngctl connect dc0: xl0:upper lower many1
# Allow dc0 to xmit/recv xl0 frames
ngctl msg dc0: setpromisc 1
ngctl msg dc0: setautosrc 0
# Configure all links as up and assign ip
ngctl msg xl0:upper setconfig "{ xmitAlg=1 failAlg=1 enabledLinks=[ 1 1 ] }"
Gongo 20:32, 26 September 2007 (UTC)
