Andrew Thompson wrote: > Hi, > > > Here is a patch to add OpenBSD's trunk(4) interface, and also includes > LACP support which came from agr(4) on NetBSD. Im interested in anyone > who wants to test this and in particular lacp mode if you have a switch > that supports it. > > http://people.freebsd.org/~thompsa/if_trunk-20070330b.diff > > The procedure to build this is (on an recent current) > cd /usr/src > patch -p0 < if_trunk-20070330b.diff > build kernel and world... > install kernel and world... > > To create a lacp trunk > ifconfig trunk0 create > ifconfig trunk0 up > ifconfig trunk0 trunkproto lacp > ifconfig trunk0 trunkport fxp0 > ifconfig trunk0 trunkport fxp1 > > ifconfig will show you the status of the trunk, for lacp the port will > be forwarding when it reaches COLLECTING and DISTRIBUTING. There are > other trunk modes failover,loadbalance and roundrobin (see the man > page). > > Any feedback would be great. > > > cheers, > Andrew
Hi, This is great news! I was waiting for this for ages :) I had to apply the attached to compile it on my 2 hour old -CURRENT, i'm not sure why single space before the tab confused Make... anyways it seems to work perfectly when i tested it on my laptop with the built in fxp0 interface and one cardbus xl0 adapter in failover mode. I'll try to setup next a wireless network so i can test the cool wired/wireless roaming example from the manual page. Thanks, Niki
--- if_trunk-20070330b.diff.orig Sat Mar 31 16:23:30 2007 +++ if_trunk-20070330b.diff Sat Mar 31 16:24:02 2007 @@ -440,7 +440,7 @@ + +.if ${MK_INET6_SUPPORT} != "no" + opt_inet6.h: -+ echo "#define INET6 1" > ${.TARGET} ++ echo "#define INET6 1" > ${.TARGET} +.endif +.endif +
signature.asc
Description: OpenPGP digital signature