Routing to clients

Hi All

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.

Can someone Help Me Please
Sorry for my English

http://forum.mikrotik.com/t/loadbalancing-work-fine-but-with-hotspot/17200/11

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.

uncheck ‘transparent proxy’ in Hotspot and recheck

I searched and tried a lot of things to make the load balance but still no results.
what i want to do now is is to give a client a diferent route.

192.168.0.1 main route
192.168.3.1 backup route

now all my users are using the main route. how can i do to give a client the backup route?

Did you try the forum post listed above? It works fine with PCC and hotspot. The important part of the connection marking rules are this:

dst-address-type=!local hotspot=auth

Another option is to use this rule instead of the modified PCC rules:

/ip firewall nat
add chain=pre-hotspot action=accept dst-address-type=!local hotspot=auth

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.