let say there is one resto with internet facility serve by three different isp. each isp connected to ether1, ether2 and ether3
and all of the above three isp mempers can use this internet connection with theirown username; such us albert@isp-a.com, bob@isp-b.com, etc.
question is, how to make the different gateway ? such as if all@isp-a.com login than the traffic go to ether1, if any@isp-b.com than the traffict go to ether2, etc.
There is no routes in User Manager.
Address-list option could be useful for you, you may set address-list from User Manager, then use address-list and apply specific policy-routing for the user.
well.. I can not see the relation between @domain-name at username with group or address pool.
of course each users can login to their radius server; isp-a, isp-b, or isp-c respectively as setup under radius.
but it does not mark the connection to be routed.
perhaps on the next release of ROS, there is an option ‘route mark’ to be added under each radius line; not under usermanager.
How many radius servers do you have? You can have each RADIUS server return a different Group. Each group (/ip hotspot user profile) can have a different ip pool (address-pool).
default (routeA) ip pool issues 192.168.1.2-127
routeB ip pool issues 192.168.1.128-191
routeC ip pool issues 192.168.1.192-254
Then use mangle to put a routing-mark on each src-address subnet.
/ip firewall mangle
add chain=prerouting action=mark-routing new-routing-mark=routeA src-address=192.168.1.0/25
add chain=prerouting action=mark-routing new-routing-mark=routeB src-address=192.168.1.128/26
add chain=prerouting action=mark-routing new-routing-mark=routeC src-address=192.168.1.192/26