Re: interface bonding

From: John (strgout_at_unixjunkie.com)
Date: 12/30/03


Date: Tue, 30 Dec 2003 14:15:39 -0600
To: freebsd-security@freebsd.org

On Mon, Dec 22, 2003 at 10:13:41PM +0200, Ruslan Ermilov wrote:
> 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.
> >
> > 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
> > --
> >
> > It works:
> >
> 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,
> --
> Ruslan Ermilov
> FreeBSD committer
> ru@FreeBSD.org

Sorry netgraph is a little over my head on config, can you show an example?
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"