[Voyage-linux] Bridge Driving Me Bonkers

Andrew Niemantsverdriet (spam-protected)
Fri Nov 18 10:40:33 HKT 2005


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.





More information about the Voyage-linux mailing list