Hi, i was testing multipath routing (for load balancing over 2 isp) and found a problem. In my simulation environment i used a couple of conceptronic routers to use as gateways. I also have masqueraded hotspot users (and freeradius+mysql but that's another story).
Network figure
Masqueraded hosts worked ok, but mikrotik itself didn't, neither proxy and dns requests if redirected through mikrotik. By using sniffer tool i found out that it was trying to send packets to router 2 using the address of the network of router 1 (or viceversa).
It looks that i found a solution using policy routing:
- Create a table for each gateway, inside each table create a rule to use default gateway the address of the gateway.
- Create a rule that matches mikrotik src address on that interface. Action must be "lookup" in the corresponding routing table.
This seems to work.
Is it the right solution for this problem?