Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 13:38:29 +0400
From:      pluknet <pluknet@gmail.com>
To:        Sebastian Mellmann <sebastian.mellmann@net.t-labs.tu-berlin.de>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Not able to set 'bridge' mode
Message-ID:  <a31046fc0905180238h4926a46ared62bc1ffd198867@mail.gmail.com>
In-Reply-To: <1242637365.31782.4.camel@python.net.t-labs.tu-berlin.de>
References:  <1242637365.31782.4.camel@python.net.t-labs.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/18 Sebastian Mellmann <sebastian.mellmann@net.t-labs.tu-berlin.de>:
> Hello everyone!
>
> I'm trying to set up a FreeBSD 7.2 machine with ipfw dummynet working as
> a bridge.
>
> I've tried this tutorial:
>
> http://www.scalabledesign.com/articles/dummynet.html
>
> But it seems that the 'BRIDGE' option for the kernel is deprecated (see
> http://lists.freebsd.org/pipermail/freebsd-questions/2008-May/175704.html=
)
>

bridge(4) was superseded by if_bridge(4) since 6.x (in 6 it was for
transitional period).
Check up man if_bridge. There are sysctl:s described.

> So my kernel config now looks like this:
>
> device =A0 =A0 =A0 =A0 =A0if_bridge
> options =A0 =A0 =A0 =A0 IPFIREWALL
> options =A0 =A0 =A0 =A0 IPFIREWALL_VERBOSE
> options =A0 =A0 =A0 =A0 IPFIREWALL_VERBOSE_LIMIT
> options =A0 =A0 =A0 =A0 DUMMYNET
> options =A0 =A0 =A0 =A0 HZ=3D1000
>
> I've compiled the kernel successfully, but I'm not able to set any
> bridge options.
>
> I've tried to enable bridge mode in ipfw with:
>
> sysctl net.link.ether.bridge_ipfw=3D1

It should be now sysctl net.link.bridge.ipfw apparently.


--=20
wbr,
pluknet



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