Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2007 16:28:47 -0700
From:      "Michael K. Smith - Adhost" <mksmith@adhost.com>
To:        "Andrew Thompson" <thompsa@FreeBSD.org>, "Randy Bush" <randy@psg.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   RE: bridging ath
Message-ID:  <17838240D9A5544AAA5FF95F8D52031602895DBB@ad-exh01.adhost.lan>
In-Reply-To: <20070927232144.GA43056@heff.fud.org.nz>
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>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----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



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