Not able to set 'bridge' mode

pluknet pluknet at gmail.com
Mon May 18 09:38:33 UTC 2009


2009/5/18 Sebastian Mellmann <sebastian.mellmann at 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          if_bridge
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_VERBOSE_LIMIT
> options         DUMMYNET
> options         HZ=1000
>
> 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=1

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


-- 
wbr,
pluknet


More information about the freebsd-net mailing list