Need help to set failover for 2 ISP and 2 LAN

Dear All,

I have a problem at my office, i need to a failover WAN because both of the ISP goes down easily.
kindly please help me to solve the failover problem.


WAN 1 —> ADSL with bridge mode
WAN 1 —> another ISP

WAN 1 ------> LAN 1 (192.168.0.0/24)
WAN 2 ------> LAN 2 (192.168.2.0/24)

WAN1 = eth1
WAN2 = eth2
LAN 2 = eth3
LAN 1 = eth4


Id like to make them automatic fail over with this below policy :

  • default connection for LAN 1 is WAN 1
  • default connection for LAN 2 is WAN 2
  • IF WAN1/WAN2 down, then one of the the WAN would automatically cover all connection
    *IF all WAN back to normal its goes back to its default.

thank you in advance…

Kindly please search the forum.

Dear Jarda,

thank for your respond,

yes i’ve been search on the forum before i asked it.
im a new mikrotik user, but however i could grasp the idea.. but i dont know how to apply it.

this is what i’ve found on the forum but its still a puzzle for me how to make it automatically back to its default routing when all ISP is UP, therefore kindly please assist me if you like :


on Firewall — Mangle

chain=prerouting - src. Address=192.168.0.0/24 - Action=Mark-Routing New-Routing-Mark=LAN1
chain=prerouting - src. Address=192.168.2.0/24 - Action=Mark-Routing New-Routing-Mark=LAN2

On IP — Routes

Dst Address=0.0.0.0/0 - Gateway=eth1 - Check-Gateway=ping - Type=Unicast - Distance=1 - Scope=30 - Target-Scope =10 - Routing-Mark=Lan1

Dst Address=0.0.0.0/0 - Gateway=eth2 - Check-Gateway=ping - Type=Unicast - Distance=2 - Scope=30 - Target-Scope =10 - Routing-Mark=Lan2


Thank you…

Any onee? Kindly please guide me? :frowning:

Look here - Re: Double QoS for v6 is possible

Dear Noviy,

thank for your respond, is going to work on ROS v5.x ? as far as im reading it, the rules for load balancing isn’t CMIIW?
im trying to rules failover with two active WAN and LAN.

dear all ,

can i use this wiki to solve my problem? because im still missing something here, is it Host1 is LAN?
thank you…

http://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting