hi anav, thanks for your reply
There might be a misperception between us
Here is my topology
LAN: 192.168.16.0/24
ISP1: 1.1.1.1
ISP2: 2.2.2.2
HO IP: 3.3.3.3
Connection to IP HO (3.3.3.3) from the LAN will be routed to ISP1
While other access (browsing and e-mail) will be routed to ISP2
If ISP1 down, then internet LAN user will be down
If ISP2 down, then connection to HO (3.3.3.3) will be down
There's no failover at ISP1 and ISP2
If ISP1 and ISP2 down, then there will be chaos in the office ^^
I'm trying to use mark routing, hopefully it works
Thank you in advance
You do realize that IP 3.3.3.3 can reach any other IP on the LAN and anybody on the LAN can reach 3.3.3.3??
In the simple case, my assumptions then...
/ip route
add distance=1 gateway=gatewayIP of WAN2 preferred source= 3.3.3.3
add distance=2 gateway=gatewayIP of WAN1
You will need some SourceNat Rules as well.
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN2 src-address=3.3.3.3
add action=masquerade chain=srcnat comment="SCR_NAT for LAN Users" \
out-interface=WAN1