Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2007 16:42:14 +0300
From:      Niki Denev <ndenev@totalterror.net>
To:        Andrew Thompson <thompsa@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: CFT: new trunk(4)
Message-ID:  <460E6536.7060805@totalterror.net>
In-Reply-To: <20070329235520.GD97061@heff.fud.org.nz>
References:  <20070329235520.GD97061@heff.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2E297DFB224E25355D9E3866
Content-Type: multipart/mixed; boundary="------------010805010307080101020906"

This is a multi-part message in MIME format.
--------------010805010307080101020906
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Andrew Thompson wrote:
> Hi,
>=20
>=20
> 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.=20
>=20
> http://people.freebsd.org/~thompsa/if_trunk-20070330b.diff
>=20
> 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...
>=20
> To create a lacp trunk
>  ifconfig trunk0 create
>  ifconfig trunk0 up
>  ifconfig trunk0 trunkproto lacp
>  ifconfig trunk0 trunkport fxp0
>  ifconfig trunk0 trunkport fxp1
>=20
> 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).
>=20
> Any feedback would be great.
>=20
>=20
> 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


--------------010805010307080101020906
Content-Type: text/plain;
 name="if_trunk_space"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="if_trunk_space"

--- 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} !=3D "no"
 + opt_inet6.h:
-+ 	echo "#define INET6 1" > ${.TARGET}
++	echo "#define INET6 1" > ${.TARGET}
 +.endif
 +.endif
 +

--------------010805010307080101020906--

--------------enig2E297DFB224E25355D9E3866
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGDmU6HNAJ/fLbfrkRAtULAJkBbInGV+aQeBKSENbTu37Wc0Nv6QCfRBo5
xiXdHHrmzux4tw+kswyI3Ew=
=fx+3
-----END PGP SIGNATURE-----

--------------enig2E297DFB224E25355D9E3866--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?460E6536.7060805>