dears..
I have a router routed to two subnets of Public IP from ETH1, how can i managing the two gateways in order to working both of them.
Regards.
dears..
I have a router routed to two subnets of Public IP from ETH1, how can i managing the two gateways in order to working both of them.
Regards.
Hi
You have some options. Have a look at: https://wiki.mikrotik.com/wiki/Load_Balancing
Just out of curiosity: are you multi-homing your eth1 with 2 static subnets?
The above article describes balancing, you maybe don’t even want that.
The simple case of having two default routes for two different external addresses is handled easlily like this:
This will route traffic with the selected source address via the alternate default route.
When all you want is reply to external traffic with the proper address and route, or to send traffic with some defined source address
(e.g. tunnel, src-nat etc) this is all you need to do.
Do you have 2 Public IP’s on the same interface? How?
So, if you want to choose a main gateway, you can set the metric attribute. The first with metric 1 and the second with metric 2.
You can set it creating static routes or setting on the WAN configuration (DHCP, PPPoE, etc).
Or you can create a balancing traffic like the guys above said.
Regards,
Leandro de Lima Camargo