wireless subnet

Denis Vlasenko vda at port.imtp.ilyichevsk.odessa.ua
Sat Apr 24 10:45:52 EDT 2004


On Friday 23 April 2004 17:42, Computer Abet & Trade wrote:

> Hi at all, first time, but I'm on mailing list for the past 6 months... and
> I didn't find my problem... how can I use my AP for client and gateway
> link, and client's from 192.168.2.x not to have access to 192.168.1.x
> network

your picture's too wide for 80 column display.

client's                                                                                                    gateway
192.168.2.x <------------------------------------------>  HostAP    <-------------------------------------> 192.168.1.1
                             wireless                  192.168.2.2                   wireless
                                                       192.168.1.2
                                                     bridge with two IP
                                                in bridge are wlan0 and eth0 
                                                            |
                                                            |
                                                            |UTP cable
                                                            |
                                                            |
                                                  +------switch------+
                                                  |                  |
                                             192.168.2.1         192.168.1.3
                                         one pc, as proxy, firewall, shaper, dns !!!

Your assignment of IP addresses is 'interesting'.
May I suggest something like this:

client's                                 gateway
.2.x <-------> .2.2 AP .1.2 <----------> .1.1
      wireless     .3.2        wireless
                    |UTP cable
                    |
           +------switch------+
           |       |   |      |
         .3.3    .3.4  ...    ...

No bridging. Plain simple sane subnetting.
You need to turn off AP bridging in hostap
so that each AP<->STA link basically works
independently.

> one pc, as proxy, firewall, shaper, dns !!!

Mine does all this and also does www caching, mail and
traffic accounting. So what?
--
vda


More information about the HostAP mailing list