GeoNetAgent, LDAPWeb, server-audit, server-connection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
676 B

# Failover ISP1 -> ISP2 — Fase 1 (main table + check-gateway)
# Import: /import file=failover.rsc
# Rollback: scripts/rollback-single-wan-mikrotik.ps1
# Fase 1 — aktifkan ISP2
/interface ethernet set sfp-sfpplus1 disabled=no
/ip dhcp-client set [find interface=sfp-sfpplus1] add-default-route=no use-peer-dns=no disabled=no
# Fase 2-3 — route failover di routing-table main
/ip route set [find dst-address=0.0.0.0/0 gateway=117.102.73.97 routing-table=main] distance=1 check-gateway=ping comment="failover ISP1 primary"
/ip route add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-table=main distance=2 check-gateway=ping comment="failover ISP2 backup" disabled=no