Advertisement
smithy1208

bis3011-recursion-failL

Apr 24th, 2020
595
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.98 KB | None | 0 0
  1. [smithy@bis-3011] /ip route> pri detail where static  
  2. Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
  3.  0 A S  dst-address=0.0.0.0/0 gateway=77.88.8.8 gateway-status=77.88.8.8 recursive via XX.XXX.217.1 vlan20 check-gateway=ping distance=10 scope=29 target-scope=10
  4.         routing-mark=ISP1-out
  5.  
  6.  1 A S  dst-address=0.0.0.0/0 gateway=ZZ.ZZZ.15.254%ether1 gateway-status=ZZ.ZZZ.15.254 reachable ether1 distance=1 scope=30 target-scope=10 routing-mark=ISP2-out
  7.  
  8.  2 A S  dst-address=0.0.0.0/0 gateway=ZZ.ZZZ.15.254%vlan21 gateway-status=ZZ.ZZZ.15.254 reachable vlan21 distance=1 scope=30 target-scope=10 routing-mark=ISP3-out
  9.  
  10.  3 A S  dst-address=ZZ.ZZZ.0.0/20 pref-src=ZZ.ZZZ.3.24 gateway=vlan21 gateway-status=vlan21 reachable distance=1 scope=10 target-scope=10 routing-mark=ISP3-out
  11.  
  12.  4 A S  dst-address=0.0.0.0/0 gateway=77.88.8.8 gateway-status=77.88.8.8 recursive via XX.XXX.217.1 vlan20 check-gateway=ping distance=6 scope=30 target-scope=10
  13.  
  14.  5   S  dst-address=0.0.0.0/0 gateway=77.88.8.1 gateway-status=77.88.8.1 unreachable check-gateway=ping distance=8 scope=30 target-scope=10
  15.  
  16.  6   S  ;;; ISP3
  17.         dst-address=0.0.0.0/0 pref-src=ZZ.ZZZ.3.24 gateway=4.2.2.3 gateway-status=4.2.2.3 unreachable check-gateway=ping distance=10 scope=30 target-scope=10
  18.  
  19.  7 A S  ;;; for resursive ISP3
  20.         dst-address=4.2.2.3/32 pref-src=ZZ.ZZZ.3.24 gateway=ZZ.ZZZ.15.254%vlan21 gateway-status=ZZ.ZZZ.15.254 reachable vlan21 distance=1 scope=11
  21.         target-scope=10
  22.  
  23.  8 A S  ;;; for resursive ISP2
  24.         dst-address=77.88.8.1/32 pref-src=ZZ.ZZZ.12.95 gateway=ZZ.ZZZ.15.254%ether1 gateway-status=ZZ.ZZZ.15.254 reachable ether1 distance=1 scope=10
  25.         target-scope=10
  26.  
  27.  9 A S  ;;; for resursive ISP1
  28.         dst-address=77.88.8.8/32 pref-src=XX.XXX.217.187 gateway=XX.XXX.217.1 gateway-status=XX.XXX.217.1 reachable via  vlan20 distance=1 scope=10 target-scope=10
  29.        
  30. [smithy@bis-3011] /ip route> export
  31. # apr/24/2020 08:31:16 by RouterOS 6.45.8
  32. #
  33. # model = RouterBOARD 3011UiAS
  34.  
  35. /ip route
  36. add check-gateway=ping distance=10 gateway=77.88.8.8 routing-mark=ISP1-out scope=29
  37. add distance=1 gateway=ZZ.ZZZ.15.254%ether1 routing-mark=ISP2-out
  38. add distance=1 gateway=ZZ.ZZZ.15.254%vlan21 routing-mark=ISP3-out
  39. add distance=1 dst-address=ZZ.ZZZ.0.0/20 gateway=vlan21 pref-src=ZZ.ZZZ.3.24 routing-mark=ISP3-out scope=10
  40. add check-gateway=ping distance=6 gateway=77.88.8.8
  41. add check-gateway=ping distance=8 gateway=77.88.8.1
  42. add check-gateway=ping comment=ISP3 distance=10 gateway=4.2.2.3 pref-src=ZZ.ZZZ.3.24
  43. add comment="for resursive ISP3" distance=1 dst-address=4.2.2.3/32 gateway=ZZ.ZZZ.15.254%vlan21 pref-src=ZZ.ZZZ.3.24 scope=11
  44. add comment="for resursive ISP2" distance=1 dst-address=77.88.8.1/32 gateway=ZZ.ZZZ.15.254%ether1 pref-src=ZZ.ZZZ.12.95 scope=10
  45. add comment="for resursive ISP1" distance=1 dst-address=77.88.8.8/32 gateway=XX.XXX.217.1 pref-src=XX.XXX.217.187 scope=10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement