HotSpot With PCC (load balancing)

Hello,

/IP Address:

Flags: X - disabled, I - invalid, D - dynamic

ADDRESS NETWORK BROADCAST INTERFACE

0 192.168.0.1/24 192.168.0.0 192.168.0.255 Local
1 192.168.1.100/24 192.168.1.0 192.168.1.255 wan1
2 192.168.2.100/24 192.168.2.0 192.168.2.255 wan2

Wan1 ISP DNS: 119.159.255.37, 203.99.163.240
Wan2 ISP DNS: 119.159.255.37, 203.99.163.240 (Same ISP DSL)
gateway wan1: 192.168.1.1
gateway wan2: 192.168.2.1

recently i have created a hotspot with 1 wan and its working fine but after i think i need to add 2nd one also then
i have applied PCC method (got from mikrotik wiki)
http://wiki.mikrotik.com/wiki/Manual:PCC

/ ip address
add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local
add address=192.168.1.100/24 network=192.168.1.0 broadcast=192.168.1.255 interface=wan1
add address=192.168.2.100/24 network=192.168.2.0 broadcast=192.168.2.255 interface=wan2

/ ip firewall mangle
add chain=input in-interface=wan1 action=mark-connection new-connection-mark=wan1_conn
add chain=input in-interface=wan2 action=mark-connection new-connection-mark=wan2_conn
add chain=output connection-mark=wan1_conn action=mark-routing new-routing-mark=to_wan1
add chain=output connection-mark=wan2_conn action=mark-routing new-routing-mark=to_wan2
add chain=prerouting dst-address=192.168.1.0/24 action=accept in-interface=Local
add chain=prerouting dst-address=192.168.2.0/24 action=accept in-interface=Local
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=wan1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=wan2_conn passthrough=yes
add chain=prerouting connection-mark=wan1_conn in-interface=Local action=mark-routing new-routing-mark=to_wan1
add chain=prerouting connection-mark=wan2_conn in-interface=Local action=mark-routing new-routing-mark=to_wan2

/ ip route
add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_wan1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_wan2 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.1.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.2.1 distance=2 check-gateway=ping

/ ip firewall nat
add chain=srcnat out-interface=wan1 action=masquerade
add chain=srcnat out-interface=wan2 action=masquerade

well after that if any client request for a web like http://www.yahoo.com then the hotpot page is not opening and lost somewhere else and some client pc’s are getting hotspot page and trying to login but internet is not working.

the pcc method is wokring fine with simple NAT rule but not working with hotspot and not with pppoe server unless the hotspot goes down if i applied pcc method on hotspot.

i have also tried this post got from Forum:
i have alter 6 and 7 number rule of mangle as per said in mentioned follow link
http://forum.mikrotik.com/t/problem-with-pcc-and-hotspot/32369/1

but still no hope … can anyone who will help me out .. i am stuck here…
PLZ

Arman

Strange… you have no solution ??? just tell me with yes or no

It’s the same solution as in the other thread you’re already linking to.

thanks for your reply,

i have mentioned it in my first post that i have tried the method in the reference link but half clients are going to internet after login … some clients are not going to the internet after login…

waiting for your reply

Arman