I have a RB750G
ether1 192.168.0.1 Gateway route main adsl moder router and dhcp server
ether2 192.168.2.1 gateway route adsl moder router and dhcp server
In ether5 i have a Hotspot.
What i want to do is to give each user different gateway. i have tried the Load balancing at the wiki but no result.
The problem comes into play because of the way the hotspot works, any traffic leaving the router from the client uses the output chain instead of what it would normally for clients. So your basic PCC example doesn’t work. This post shows how to get around that with PCC. There are also a few more methods available that do the basic same thing if you run a search on the forum.
If you are looking just failover look into policy based routing, but you will probably need something similar to the PCC fix there as well.
And yes you need to disable the transparent proxy. Otherwise you need to make another set of connection marking rules on the output chain for dst. port of 80, and make two more NAT rules that use those unique connection marks so that traffic leaving the router from the proxy on those interfaces has the correct IP and other traffic coming from the router isn’t messed up by the NAT rule. This is because when the proxy is used, HTTP requests are handled by the router, so the outbound traffic originates from the router itself.
You cannot really do failover on the clients machines themselves. While you can have multiple default routes listed with different weights technically, the OS will have no way of knowing when one line is down without some kind of testing script installed on it or the physical interface the IP and route are tied to are disconnected. This would be really impossible to do in a hotspot setting.