Advertisement
smithy1208

Untitled

Dec 30th, 2021
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. /ip route add distance=1 gateway={{ ISP2GW }} routing-table=ISP2
  2. /ip route add distance=252 gateway={{ ISP2GW }}
  3.  
  4. /ip route remove [find gateway={{ ISP1GW }}]
  5. /ip route add distance=1 gateway={{ ISP1GW }} routing-table=ISP1
  6. /ip route add check-gateway=ping distance=251 gateway={{ ISP1GW }}
  7. /ip route add comment=ISP1-FailoverCheck1 distance=1 dst-address={{ NOC1 }}/32 gateway={{ ISP1GW }} scope=11
  8. /ip route add comment=ISP1-FailoverCheck2 distance=1 dst-address={{ WHALER1 }}/32 gateway={{ ISP1GW }} scope=11
  9. /ip route add comment=ISP2-FailoverCheck1 distance=1 dst-address={{ NOC2 }}/32 gateway={{ ISP2GW }} scope=11
  10. /ip route add comment=ISP2-FailoverCheck2 distance=1 dst-address={{ WHALER2 }}/32 gateway={{ ISP2GW }} scope=11
  11. /ip route add check-gateway=ping comment=ISP1-FailoverGW distance=1 dst-address={{ FAKEGW1 }}/32 gateway={{ NOC1 }} scope=12 target-scope=11
  12. /ip route add check-gateway=ping comment=ISP1-FailoverGW distance=1 dst-address={{ FAKEGW1 }}/32 gateway={{ WHALER1 }} scope=12 target-scope=11
  13. /ip route add check-gateway=ping comment=ISP2-FailoverGW distance=1 dst-address={{ FAKEGW2 }}/32 gateway={{ NOC2 }} scope=12 target-scope=11
  14. /ip route add check-gateway=ping comment=ISP2-FailoverGW distance=1 dst-address={{ FAKEGW2 }}/32 gateway={{ WHALER2 }} scope=12 target-scope=11
  15.  
  16. /ip route add comment=DefaultRouteFailover1 distance=10 gateway={{ FAKEGW1 }} target-scope=12
  17. /ip route add comment=DefaultRouteFailover2 distance=20 gateway={{ FAKEGW2 }} target-scope=12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement