From owner-freebsd-net@FreeBSD.ORG Thu Sep 27 23:28:48 2007 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 C68E716A418; Thu, 27 Sep 2007 23:28:48 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in01.adhost.com (mail-in01.adhost.com [216.211.128.146]) by mx1.freebsd.org (Postfix) with ESMTP id A6C5413C458; Thu, 27 Sep 2007 23:28:48 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (unknown [216.211.143.69]) by mail-in01.adhost.com (Postfix) with ESMTP id 63B9061C32; Thu, 27 Sep 2007 16:28:48 -0700 (PDT) (envelope-from mksmith@adhost.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 27 Sep 2007 16:28:47 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031602895DBB@ad-exh01.adhost.lan> In-Reply-To: <20070927232144.GA43056@heff.fud.org.nz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: bridging ath Thread-Index: AcgBXS8g7PP/kM9WQkqW4qKerB0CjQAAFCQw References: <46FB1044.7020000@psg.com> <20070927214100.GB20718@heff.fud.org.nz> <46FC25C3.8030703@psg.com> <17838240D9A5544AAA5FF95F8D52031602895DA5@ad-exh01.adhost.lan> <46FC3A8E.20307@psg.com> <20070927232144.GA43056@heff.fud.org.nz> From: "Michael K. Smith - Adhost" To: "Andrew Thompson" , "Randy Bush" Cc: FreeBSD Net Subject: RE: bridging ath 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: Thu, 27 Sep 2007 23:28:48 -0000 > -----Original Message----- > From: Andrew Thompson [mailto:thompsa@FreeBSD.org] > Sent: Thursday, September 27, 2007 4:22 PM > To: Randy Bush > Cc: Michael K. Smith - Adhost; FreeBSD Net > Subject: Re: bridging ath >=20 > On Thu, Sep 27, 2007 at 01:19:42PM -1000, Randy Bush wrote: > > > Just to be sure... > > > > good questions, thanks for asking > > > > > net.inet.ip.forwarding=3D1 > > > > # sysctl net.inet.ip.forwarding > > net.inet.ip.forwarding: 1 > > > > > net.link.ether.bridge.enable=3D1 > > > net.link.ether.bridge.config=3Dem0,ath0 > > > > # sysctl net.link.ether.bridge.enable > > sysctl: unknown oid 'net.link.ether.bridge.enable' > > # sysctl -a | grep bridge > > net.link.bridge.ipfw: 0 > > net.link.bridge.log_stp: 0 > > net.link.bridge.pfil_local_phys: 0 > > net.link.bridge.pfil_member: 1 > > net.link.bridge.pfil_bridge: 1 > > net.link.bridge.ipfw_arp: 0 > > net.link.bridge.pfil_onlyip: 1 > > dev.pcib.0.%desc: ACPI Host-PCI bridge > > dev.pcib.1.%desc: ACPI PCI-PCI bridge > > dev.pcib.2.%desc: ACPI PCI-PCI bridge > > dev.hostb.0.%desc: Host to PCI bridge > > dev.agp.0.%desc: Intel 82855 host to AGP bridge > > dev.isab.0.%desc: PCI-ISA bridge > > > > oops! have i left something out of kernel or kld load? >=20 > No, Michael's example was for old-bridge which is depreciated. You had > the config right. >=20 Thanks Andrew! In reading http://www.freebsd.org/cgi/man.cgi?query=3Dif_bridge&sektion=3D4 it = looks like either device if_bridge or if_bridge_load=3D"YES" in loader.conf is all that's needed. For testing purposes, you might want to disable the filtering configuration with: sysctl net.link.bridge.pfil_member=3D0 sysctl net.link.bridge.pfil_bridge=3D0 Regards, Mike