Fail-over between two WAN (one line with static ip and one line with PPPOE connection)

I have mikrotik router and I want to configure failover between two internet line. and one line with Static IP and other line is PPPOe connection.how to perform failover please share step by step configuration thanks in advance..

I have the same issue.
I’ve searched a lot without success…
Did you see these posts:
http://wiki.mikrotik.com/wiki/Failover_Scripting#What_to_configure
https://github.com/rdfranzen/mikrotik/blob/master/multiroute-failover.rsc ?

I’m trying to apply for my scenario. You could try too.
Hope you be sucessful.

Hello, i believe that i figured out my issue, and if you still need help, i'll explain what i did.
Searching a lot on mikrotik forum and google i found a way.
We can use recursive routing.


apr/12/2013 10:41:20 by RouterOS 5.20

Syed Jahanzaib / aacable@hotmail.com

Web= http://aacable.wordpress.com

/ip address
add address=192.168.0.1/24 disabled=no interface=LAN network=192.168.0.0
add address=192.168.1.2/24 disabled=no interface=WAN1 network=192.168.1.0
add address=192.168.2.2/24 disabled=no interface=WAN2 network=192.168.2.0

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB
max-udp-packet-size=512 servers=208.67.222.222,202.141.224.34

Or use your ISP's DNS

/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=WAN1
add action=masquerade chain=srcnat disabled=no out-interface=WAN2

Following is ROUTE section where we will be using check-gateway function to monitor external hosts from each wan

Here is the key:

/ip route
add dst-address=8.8.8.8 gateway=192.168.1.1 scope=10
add dst-address=221.132.112.8 gateway=192.168.2.1 scope=10

#### Create a route for your preferencial DNS (like 8.8.8.:sunglasses: with scope=10 that means directly conected. Then create your default route pointing to route created above.
add distance=1 gateway=8.8.8.8 check-gateway=ping
add distance=2 gateway=221.132.112.8 check-gateway=ping
___________________________________________________________________________
In this case we monitor the designated host. If your ISP1 can't access this host, then, ISP2 became active. But, if only that single host is really inactive at internet, as this is a simple monitor, may internet is accessible but, ISP2 will be active.

Look for this: http://learnithowabout.blogspot.com.br/2013/11/mikrotik-multi-wan-fail-over-scenarios.html?m=1