That is exactly the purpose of client isolation - it prevents the AP from
forwarding traffic between hosts. I want to force the traffic through the
server so I can shape it and fairly balance it.
I don't have any problems with DHCP or anything else. Only one simple
requirement. 192.168.0.2 needs to be able to speak to 192.168.0.3 in the
following setup. (It works if I turn client Isolation off, but then the
server doesn't see the traffic!)
ADSL Router:10.0.0.2
|
|10.0.0.3
SERVER
|192.168.0.1
|
AP:192.168.0.254-------Client:192.168.0.2
|
|
Client:192.168.0.3
I set my default gateway at each client to 10.0.0.2 which is the ADSL
router. Maybe i should change it to 192.168.0.1?
> Sounds like you want all traffic to pass through the "server", ie., you
> want it to function as a router/forwarding host. Yes or no?
Yes! That is absolutely correct.
>
> -- The brand/model of the AP and a link to its user guide would be
> nice.
SENAO SL2611CB3+DX
http://www.miro.co.za/ProductSpecs/SL2611CB3+DX.htm
(userguide, everyhting there..

pretty nifty piece of equipment - about a
2km range on it's little dipole antenna.
> -- Is the server connected to a "special" port? Eg., labeled DMZ or
> Games or Server. Or is the DHCP server built into the AP? Just a
> separate host?
No DHCP in the AP; not sure what you mean about the "special" port.
> -- Some hint as to what "client isolation" is meant to be used for.
> Sounds like the AP is not forwarding packets _between_ hosts, just from
> hosts to the "server" port. Do their netmasks change depending on
> which mode is used?
That is correct!
> > I suppose what is happening is that the server doesnt know that it
> should
> > send traffic for the 192.168.0.0/24 subnet back out via the interface
> it
> > picked the traffic up from. How do I tell it to do this?
>
> No need to tell it anything as DHCP servers are _meant_ to reside on
> the segment for which they dispense IPs. "Special" arrangements only
> needed when DHCP server is _not_ on the local segment/subnet.
Nothing to do with DHCP I'd say.
> I take it that clients are not getting replies when they ask the DHCP
> server for network configuration. You may want to sniff the wire with
No, they're perfect, fine, dandy, happy...
> Manually configure a host to a static IP and confirm basic connectivity
> to the server via ping, etc.
No need, it works.
> If this doesn't shake anything loose, you may have to send server and
> static client output of:
> $ ifcong -a
> $ route -n
> and perhaps your dhcpd.conf. Clients usually just need a gui
> button/check box clicked to be set up.
>
> hth,
> prg
>
'hostfilter','hostfilterex','urlfilter','urlfilter ex','refererpagesfilter','
refererpagesfilterex',
'pluginmode','filterrawlog');
$QueryString='';
# AWStats use GATEWAY_INTERFACE to known if ran as CLI or CGI.
AWSTATS_DEL_GATEWAY_INTERFACE can
# be set to force AWStats to be ran as CLI even from a web page.
if ($ENV{'AWSTATS_DEL_GATEWAY_INTERFACE'}) { $ENV{'GATEWAY_INTERFACE'}=''; }
if ($ENV{'GATEWAY_INTERFACE'}) { # Run from a browser as CGI
if ($BuildReportFormat eq 'xml') { print
($ENV{'HTTP_USER_AGENT'}=~/MSIE|Googlebot/i?"Content-type:
text/html\n":"Content-type: text/xml\n"); }
else { print "Content-type: text/html\n"; }
# Prepare QueryString
if ($ENV{'CONTENT_LENGTH'}) {
binmode STDIN;
read(STDIN, $QueryString, $ENV{'CONTENT_LENGTH'});
}
if ($ENV{'QUERY_STRING'}) { $QueryString = $ENV{'QUERY_STRING'}; }
$QueryString = CleanFromCSSA($QueryString);
# No update but report by default when run from a browser
$UpdateStats=($QueryString=~/update=1/i?1:0);
if ($QueryString =~ /config=([^&]+)/i) {
$SiteConfig=&DecodeEncodedString("$1"); }
if ($QueryString =~ /logfile=([^&]+)/i) {
$LogFi
www:/srv/www/cgi-bin # chmod +x radar.cgi
www:/srv/www/cgi-bin # cd ..
www:/srv/www # ls
.. .. cgi-bin fcgi-bin htdig htdocs icons js
www:/srv/www # cd htd
www:/srv/www/cgi-bin # wshaper stop
www:/srv/www/cgi-bin # rcwondershaper stop
Shutting down wondershaper done
www:/srv/www/cgi-bin # iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- anywhere anywhere tcp dpt:http
redir ports 3128
Chain POSTROUTING (policy ACCEPT)
www:/srv/www/cgi-bin # ifcong
-bash: ifcong: command not found ;-)
www:/srv/www/cgi-bin # ifconfig -a
br0 Link encap:Ethernet HWaddr 00:08:A1:40:47:B9
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::208:a1ff:fe40:47b9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3597230 errors:0 dropped:0 overruns:0 frame:0
TX packets:1883207 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3018262507 (2878.4 Mb) TX bytes:1350584539 (1288.0 Mb)
eth0 Link encap:Ethernet HWaddr 00:50:FC:82:98:C0
inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:fcff:fe82:98c0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1647219 errors:0 dropped:0 overruns:0 frame:0
TX packets:1877632 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1256094139 (1197.9 Mb) TX bytes:1512104335 (1442.0 Mb)
Interrupt:15 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:E0:4C:77:11:7E
inet6 addr: fe80::2e0:4cff:fe77:117e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:566412 errors:0 dropped:0 overruns:0 frame:0
TX packets:1100344 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37703511 (35.9 Mb) TX bytes:1522873073 (1452.3 Mb)
Interrupt:15 Base address:0x1000
eth2 Link encap:Ethernet HWaddr 00:08:A1:40:47:B9
inet6 addr: fe80::208:a1ff:fe40:47b9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3030818 errors:0 dropped:0 overruns:0 frame:0
TX packets:2396658 errors:0 dropped:0 overruns:0 carrier:0
collisions:586 txqueuelen:1000
RX bytes:3038070138 (2897.3 Mb) TX bytes:1365201778 (1301.9 Mb)
Interrupt:15 Base address:0xb000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:49407 errors:0 dropped:0 overruns:0 frame:0
TX packets:49407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5073057 (4.8 Mb) TX bytes:5073057 (4.8 Mb)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
www:/srv/www/cgi-bin # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.0.0.2 0.0.0.0 UG 0 0 0 eth0
www:/srv/www/cgi-bin # >
Don't break you head on it!
eth0 (10.0.0.3) connects to an ADSL router
eth1+eth2 are tied to br0 (192.168.0.1) where my LAN sits. eth1 connects to
a switch and eth2 to the AP, but my linux machine doesnt need to know
this... it just sees br0, LAN