[Voyage-linux] Bridge Driving Me Bonkers

Andrew Niemantsverdriet (spam-protected)
Sun Nov 20 06:28:19 HKT 2005


For all who are following this thread.

Punky mailed me off list and pointed me to a site that said wireless
bridging would not work. That message was right mostly. When the
wireless card is in master mode bridging works great. I have 3 access
points working in that mode now. However on the other side when the
wireless card is in Managed mode the bridge ceases to function do to the
fact that the wireless card does not know where the wired clients are. 

With out going into network theory to much there is a solution; proxy
arp. There is a program out there called parprouted that does proxy arp
for wireless and fits the bill quite nicely. I have tested and confirmed
that it works. I have also made a script that makes things a little
easier if anybody is interested. Judging from the responce to my first
mail on this topic I think what I am doing is pretty unique so maybe
nobody else cares.


On Thu, 2005-11-17 at 19:40 -0700, Andrew Niemantsverdriet wrote:
> I am trying to make a basic bridge between eth0 and wlan0. When I ssh
> into the box I can ping both the Internet at large (wlan0 faces
> Internet) and of course the device that I used to ssh in with (connected
> to eth0).
> 
> However when I try from the computer sitting behind the wrap to ping the
> Internet I can't get through. Seems to be "stuck" at the bridge. Any
> suggestions?
> 
> Here is my interfaces file:
> # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> # /usr/share/doc/ifupdown/examples for more information.
> auto lo
> iface lo inet loopback
> 
> auto br0
> iface br0 inet static
>      address 192.168.254.13
>      netmask 255.255.255.0
>      network 192.168.254.0
>      broadcast 192.168.254.255
>      gateway 192.168.254.1
>      bridge_ports eth0 wlan0
>      pre-up ifconfig eth0 0.0.0.0 up
>      pre-up ifconfig wlan0 0.0.0.0 up
>      pre-up iwconfig wlan0 essid hotspot2 mode managed rate 1M
>      #pre-up iwconfig wlan0 123456789012
>      pre-up brctl addbr br0
>      pre-up brctl addif br0 eth0
>      pre-up brctl addif br0 wlan0
>      post-down ifconfig eth0 0.0.0.0 down
>      post-down ifconfig wlan0 0.0.0.0 down
>      post-down brctl delif br0 eth0
>      post-down brctl delif br0 wlan0
>      post-down brctl delbr br0
>  
> This interface file works great for AP's (with a few changes). Any help
> would be really appreciated.
> 
> 
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
> 





More information about the Voyage-linux mailing list