Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2008 18:56:45 +0100 (BST)
From:      "Reinhold" <freebsd@violetlan.net>
To:        freebsd-pf@freebsd.org
Subject:   Re: load balancing and bridging ath0 with re0
Message-ID:  <57429.217.41.34.61.1209405405.squirrel@www.violetlan.net>
In-Reply-To: <55812.217.41.34.61.1209381058.squirrel@www.violetlan.net>
References:  <56784.217.41.34.61.1209369426.squirrel@www.violetlan.net> <20080428083555.GA81953@eos.sc1.parodius.com> <55812.217.41.34.61.1209381058.squirrel@www.violetlan.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, April 28, 2008 12:10, Reinhold wrote:
> On Mon, April 28, 2008 09:35, Jeremy Chadwick wrote:
>
>> On Mon, Apr 28, 2008 at 08:57:06AM +0100, Reinhold wrote:
>>
>>
>>> I'm having a bit of problem with getting my wlan to access the lan. I
>>>  have created a bridge and its working in that both wlan and lan can
>>> access the internet perfectly well but they can't see each other.
>>> When I
>>> disable pf then they can access each other. The problem is that I'm
>>> doing load-balancing so when I disable pf my internet stops working.
>>
>> Have you tried tinkering with the sysctls mentioned in bridge(4)?
>> There
>> are even more available on RELENG_7, in the case you're using something
>> older.
>>
> Hi
>
>
> I forgot to mention that I'm using RELENG_7_0
>
>
> I have played with sysctl here is what are now
> # sysctl net.link.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: 0
>
>
> I've changed net.link.bridge.pfil_onlyip from 1 to 0 with no affect and I
>  tried net.link.bridge.pfil_local_phys 0 to 1 but then all access to the
> internet stopped so I had to change it back to 0
>
>
woot I got it working

All I added was
# Make wlan talk to lan
pass quick on $int_lan from any to any keep state
pass quick on $int_wlan from any to any keep state

\o/ now I can get a good nights rest :-)




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