I'm having a bit of a trouble configuring a WAN failover in Mikrotik. I've done it a lot of times with no problems, but this time is different.
WAN 1 is 1G fiber.
WAN 2 is LTE.
Problem is that the ISP router in WAN 1 replies ping with net unreachable (this is the difference VS the other times I've done this, normally the ISP router simply doesn't reply when there's no internet connection), so the route detects the reply and keeps the route active even when is not the host (1.1.1.1) who is responding but the router.
What can I do?
(Sorry for my English)
This is the config. Firewall & LAN config not included because not needed for this.
Code: Select all
/ip dhcp-client
add add-default-route=no disabled=no interface=ether1-WAN1 use-peer-dns=no \
use-peer-ntp=no #This one gets 192.168.1.0/24
add add-default-route=no disabled=no interface=ether5-WAN2 use-peer-dns=no \
use-peer-ntp=no #This one gets 192.168.2.0/24
/ip route
add dst-address=0.0.0.0/0 distance=1 gateway=1.1.1.1
add dst-address=0.0.0.0/0 distance=2 gateway=9.9.9.9
add check-gateway=ping distance=1 dst-address=1.1.1.1/32 gateway=192.168.1.1 \
scope=10
add check-gateway=ping distance=1 dst-address=9.9.9.9/32 gateway=192.168.2.1 \
scope=10