From owner-freebsd-net@FreeBSD.ORG Mon May 18 09:38:32 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E272B10656CD for ; Mon, 18 May 2009 09:38:32 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id 715798FC14 for ; Mon, 18 May 2009 09:38:32 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fxm12 with SMTP id 12so3110679fxm.43 for ; Mon, 18 May 2009 02:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Mj3DfQgQNftGPIZyuyxfDT9gRrqmy7/G52NP5INS6XU=; b=PWpD7C4zKRi3YC+kxCfGwd0T7xRTMMC+pqAR8uStb4Bv6miOpL9ZZZjMABvcWI6GRu vTsS+t7YBaeWQTWY3ssWnuu5cfY3vWmzOeeDKInNpA0sDXEi6mwRhXsvm+kjxBb3aA9x Odw2XbiFzKias2RnX0eA+7LpBeVM80aDFNwe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Z2kTw8FO0gh43sM9UuZ21Vw+89s2jt9+Mm61fWUAIpSj34NzkzzRXlamSe+IN0QX9B XuYAx/dlEZAnLom1TWFWvbo1g2XypN+wxR497SfACiErSuVH4bpH9bRDjA1bWNh/FXVh AuISl/0Gyhm5KgRh54A8/Q4rgAf7AoUq8+xvM= MIME-Version: 1.0 Received: by 10.103.6.10 with SMTP id j10mr853350mui.121.1242639509733; Mon, 18 May 2009 02:38:29 -0700 (PDT) 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> Date: Mon, 18 May 2009 13:38:29 +0400 Message-ID: From: pluknet To: Sebastian Mellmann Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: Not able to set 'bridge' mode X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 09:38:33 -0000 2009/5/18 Sebastian Mellmann : > 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