Page 1 of 1

Problem with multipath routing & load balance addresses

Posted: Thu Jun 30, 2005 6:30 pm
by LatinSuD
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?

Posted: Thu Jun 30, 2005 8:05 pm
by [ASM]
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

Re: Problem with multipath routing & load balance addres

Posted: Fri Aug 05, 2005 12:17 pm
by isabido
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?

Latin te doy mi msn, piltrafilladx01@hotmail.com

Spain, Huelva.

Posted: Fri Aug 05, 2005 4:03 pm
by spire2z
All these dual gateway problems seem to be related in some way. I have not done a sniffer test yet but I will.