bridging hostap->Atmel USB Wireless-> Wired

Austin Godber godber
Wed Jun 25 10:55:10 PDT 2003


Hello,
	I am working on doing some bridging from a hostap network to an Access point 
through a USB wifi NIC using the USB Atmel card (Netgear MA101).

client--------wlan0 (hostap)
10.6.6.7      laptop
               10.6.6.6
               eth1 (atmel driver)
                 |
                 |
                 |
                 |
               Wireless Access Point bridging to wired network.
                 I
                 I
                 I
               Wired PC
               10.6.6.1

I have done the following on the laptop:

ifconfig wlan0 0.0.0.0
ifconfig eth1 0.0.0.0

brctl addbr br0
brctl addif br0 eth1
brctl addif br0 wlan0
ifconfig br0 10.6.6.6 netmask 255.255.255.0 broadcast 10.6.6.255

I can ping the bridge IP 10.6.6.6 from both the wireless client (10.6.6.7) and 
the wired PC (10.6.6.1).  I can also ping the wireless client and the wired PC 
from the bridge.  But 10.6.6.1 can't ping 10.6.6.7 ... nor vice versa.

Any tips?  Is there a reason this should not work?

I don't need to turn on IP_FORWARD right ... well I did just in case and it 
didn't help.  Also, iptables doesn't operate on the br0 right, well, perhaps if 
I told it to it would but I haven't.  I have default accept policies for everything.

Austin





More information about the Hostap mailing list