[Bridge] Transparent wired/wirless bridge: is it possible?

Mauro Condarelli mc5686 at mclink.it
Sat Oct 30 09:20:57 PDT 2010

On 26/10/2010 14.36, Ryan Whelan wrote:
> Have you looked at hostapd (http://hostap.epitest.fi/hostapd/)?
I was not clear enough.

I have the wireless card up-and-running in ap-mode using hostapd.
I *can* connect a laptop to the wireless Access Point.
I also know how to setup a masquerading router on the linux machine to 
share the landline connection (e.g.: using firestarter).
This would create a second net for wireless with double natting.
I would like to avoid this and I'm looking for a "bridge" configuration 
so that all machines (wireless & wired) can share the same subnet 

I tried something like:
auto lo
iface lo inet loopback

auto wlan2
iface wlan2 inet manual
     up /usr/sbin/service hostapd start
     up /sbin/ifconfig wlan2 up
     down /sbin/ifconfig wlan2 down
     down /usr/sbin/service hostapd stop

auto eth2
iface eth2 inet manual
     up /sbin/ifconfig eth2 up
     down /sbin/ifconfig eth2 down

auto br0
iface br0 inet dhcp
     bridge_ports eth2 wlan2
     bridge_maxwait 0
... but it does not seem to work as hoped.

Thanks in Advance for *ANY* hint ;)

> On Tue, Oct 26, 2010 at 5:24 AM, Mauro Condarelli <mc5686 at mclink.it 
> <mailto:mc5686 at mclink.it>> wrote:
>     Hi,
>     I read a lot on the Internet, but didn't find quite what I need.
>     I'm not even sure it's possible.
>     I have a machine with ethernet access and wireless card (in master
>     mode).
>     Both are running ok under ubuntu maverick.
>     I also have a separate firewall (wired) acting as DHCP server for my
>     whole home network.
>     I would like to bind the two interfaces together with no
>     translation (no
>     NAT, SNAT, masquerading, ...) so that the machines connecting to the
>     wireless lan can get their address from the firewall and access the
>     Internet.
>     Is this possible with bridging?
>     If so: can someone point me to the right documentation?
>     TiA
>     Mauro
>     _______________________________________________
>     Bridge mailing list
>     Bridge at lists.linux-foundation.org
>     <mailto:Bridge at lists.linux-foundation.org>
>     https://lists.linux-foundation.org/mailman/listinfo/bridge

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20101030/2fb7e178/attachment.htm 

More information about the Bridge mailing list