ISP Information example:

ISP-1 = PPPoE
Username = wenetx
Password = sec2pasxx
Gateway = pppoe-out1

ISP-2: 172.16.18.46/30
IP = 172.16.18.46
Mask = 255.255.255.252
Gateway = 172.16.18.45

– – – – – – – – – – – – – – – – – – – – – – – – – –

Dual WAN advance failover:

Open New Terminal, and enter the following:

/ip route

add dst-address=8.8.8.8 gateway=pppoe-out1 scope=10

add dst-address=1.1.1.1 gateway=172.16.18.45 scope=10

add distance=1 gateway=8.8.8.8 routing-mark=isp1 check-gateway=ping

add distance=2 gateway=1.1.1.1 routing-mark=isp1 check-gateway=ping

add distance=1 gateway=1.1.1.1 routing-mark=isp2 check-gateway=ping

add distance=2 gateway=8.8.8.8 routing-mark=isp2 check-gateway=ping

add dst-address=8.8.8.8 type=blackhole distance=20

add dst-address=1.1.1.1 type=blackhole distance=20

Important ! You must use your ISPs gateway replacing my sample gateway.