3 Isp Recursive Load Balancing in Mikrotik - Load Balancing & Failover on MikroTik
  • last year
#wasitech #loadbalancing
3 Isp Recursive Load Balancing in Mikrotik | Load Balancing & Failover on MikroTik

Route Script :

/ip route
add distance=1 gateway=10.1.1.1 routing-mark=to_ISP1 scope=20
add distance=2 gateway=1.1.1.1 routing-mark=to_ISP1 scope=20 target-scope=20
add distance=1 gateway=1.1.1.1 routing-mark=to_ISP2 scope=20 target-scope=20
add distance=2 gateway=10.1.1.1 routing-mark=to_ISP2
add distance=1 gateway=2.2.2.2 routing-mark=to_ISP3 scope=20 target-scope=30
add distance=2 gateway=10.1.1.1 routing-mark=to_ISP3 scope=20 target-scope=40
add distance=1 gateway=10.1.1.1
add distance=1 dst-address=1.0.0.1/32 gateway=192.168.1.1 target-scope=30
add check-gateway=ping distance=1 dst-address=1.1.1.1/32 gateway=8.8.4.4 \
scope=20 target-scope=20
add check-gateway=ping distance=1 dst-address=2.2.2.2/32 gateway=1.0.0.1 \
scope=20 target-scope=30
add distance=1 dst-address=8.8.4.4/32 gateway=192.168.102.1 scope=20 \
target-scope=20
add distance=1 dst-address=8.8.8.8/32 gateway=192.168.101.1 scope=10
add check-gateway=ping distance=1 dst-address=10.1.1.1/32 gateway=8.8.8.8 \
scope=10