2 WAN PCC + 3rd WAN FAILOVER

Hello to everyone. First sorry for my bad english, i’m from Argentina.
I have a problem that i don’t know how to solve. I have 3 WAN connections, the first 2 is balanced and have failover using “Advanced Routing Failover without Scripting” (https://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting) .
I can’t figure out how to use the 3rd WAN when the other 2 don’t work. I make a mangle route and create a routing mark with new name, also made recursive routes for the new WAN and the connections marked works, only with 3rd WAN (this only for test). But how can i make that when the first 2 links is down, use the third as Emergency ?.

Many thanks

If the English is your own one and not Google translate’s, don’t worry about it :slight_smile:

Adhering to the symbolic names used in the example you refer to, just add the bold lines.

/ip route
add distance=1 gateway=10.1.1.1 routing-mark=ISP1
add distance=2 gateway=10.2.2.2 routing-mark=ISP1
add distance=1 gateway=10.2.2.2 routing-mark=ISP2
add distance=2 gateway=10.1.1.1 routing-mark=ISP2
add distance=3 gateway=lte.gw.add.ress routing-mark=ISP1
add distance=3 gateway=lte.gw.add.ress routing-mark=ISP2

lte.gw.add.ress is the IP address of the gateway provided by the DHCP client on the LTE interface.