Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2003 22:13:41 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Richard Bejtlich <richard_bejtlich@yahoo.com>
Cc:        freebsd-security@freebsd.org
Subject:   Re: interface bonding
Message-ID:  <20031222201341.GA98235@FreeBSD.org.ua>
In-Reply-To: <20031222184812.87890.qmail@web60808.mail.yahoo.com>
References:  <20031222184812.87890.qmail@web60808.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 22, 2003 at 10:48:12AM -0800, Richard Bejtlich wrote:
> Thanks to Dmitry's tip on ng_eiface, I'm happy to
> report using the following configuration to bond
> interfaces with ng_one2many and a virtual interface
> ngeth0.
>=20
> sf2 and sf3 are real interfaces connected to my 10/100
> tap.
> --
> kldload ng_ether
> kldload ng_one2many
> ifconfig sf2 promisc -arp up
> ifconfig sf3 promisc -arp up
> ngctl mkpeer . eiface hook ether
> ngctl mkpeer ngeth0: one2many lower one
> ngctl connect sf2: ngeth0:lower lower many0
> ngctl connect sf3: ngeth0:lower lower many1
> ifconfig ngeth0 -arp up
> --
>=20
> It works:
>=20
You can also try to dispense with ng_ether(4) completely
by attaching the "ether" hook of the eiface node to the
one2many's "one" hook directly.


Cheers,
--=20
Ruslan Ermilov
FreeBSD committer
ru@FreeBSD.org

--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/51B1Ukv4P6juNwoRApnHAJ9qcjg6Mvg1hvF7JCugJWanrrV6qwCfYadb
Cs5Hkcj5zSEDKRumiZ5gofs=
=GlsI
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--



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