Problem with multipath routing & load balance addresses

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?

some kind of configuration problem… plese post results from:

/ip route export
/ip policy-routing export
/ip firewall src-nat export
/ip firewall dst-nat export
/ip address export

Latin te doy mi msn, piltrafilladx01@hotmail.com

Spain, Huelva.

All these dual gateway problems seem to be related in some way. I have not done a sniffer test yet but I will.