Multi-WLAN configuration


From: Victor Aleo (victor.aleo_at_estudiant.upc.es)
Date: 2002-10-09 01:10:36 UTC



Hi again,

First, thanks a lot for the answers about the timing questions!

I would like to ask how to set up the next wireless network configuration:

  1. Linux-box with 2 WLAN cards (Prism2-2002-05-19). The first card
    (wlan0) is configured as an AP (Master mode) and the second (wlan1) as a
    STA (Managed mode). The Linux-box has an Ethernet device (eth0). By now, I have bridged the wlan0 (AP) with the eth0 without any problems. I get an IP address for the AP by means of DHCP (let's say 120.235.14.50).

But now, I want to use the second WLAN card, wlan1, to act as an STA. This STA must communicate on the "radio" side, of course. I also get an IP address for this STA using DHCP.

The issue is the next: I get an IP for wlan1 from the same subnetwork
(120.235.14.55) and the routing table looks like the following:

Kernel IP routing table

Destination     Gateway         Genmask                 Flags Metric 
Ref    Use Iface
120.235.14.0     *               255.255.255.128     U     0      
0        0         br0
120.235.14.0     *               255.255.255.128     U     0      
0        0         wlan1
127.0.0.0           *               255.0.0.0                 U     
0      0        0         lo
default         120.235.14.1   0.0.0.0                     UG   0     
0        0         br0
default         120.235.14.1   0.0.0.0                     UG   0     
0        0         wlan1

Therefore, when I tried to connect to the IP address of wlan1
(120.235.14.55) all the traffic was forwarded to the bridge (br0) using
the "wired" side instead of the "wireless" side. Conclusion: the wlan1 device is not used at all!

How can I fixed it to make the Linux-box to forward the packets to wlan1 device instead of the br0 in this case?

Any idea, comment or suggestion will be well received!

Victor



This archive was generated by hypermail 2.1.4.