Date: Mon, 18 May 2009 13:38:20 +0400 From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> 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: <HXbtGG3xOuvFr2MTEhx32vz59AA@cgr/Aoyjz11KtFDB23HMnFSn04s> 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
Sebastian, good day. Mon, May 18, 2009 at 11:02:45AM +0200, Sebastian Mellmann wrote: > 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) Yeah, BRIDGE is obsoleted now. > 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 > > and got > > sysctl: unknown oid 'net.link.ether.bridge_ipfw' > > Am I missing something? Yeah, seems like you hadn't yet read "man if_bridge" -- it has the collection of relevant sysctl variables in section "PACKET FILTERING". Moreover, man page has instructions on how to get bridge interfaces up and running. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HXbtGG3xOuvFr2MTEhx32vz59AA>