Guest User

Untitled

a guest
Jan 21st, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. ip route add default via 10.1.1.1 dev eth0 tab 1
  2. ip route add default via 10.1.1.1 dev eth1 tab 2
  3. ip route add default via 10.1.1.1 dev eth2 tab 3
  4. ip route add default via 10.1.1.1 dev eth3 tab 4
  5. ip route add default via 10.1.1.1 dev eth4 tab 5
  6. ip rule add from 10.1.1.13/32 tab 1 priority 500
  7. ip rule add from 10.1.1.31/32 tab 2 priority 600
  8. ip rule add from 10.1.1.35/32 tab 3 priority 700
  9. ip rule add from 10.1.1.36/32 tab 4 priority 800
  10. ip rule add from 10.1.1.39/32 tab 5 priority 900
  11.  
  12. default via 10.1.1.1 dev eth0
  13. 10.1.1.0/24 dev eth0 proto kernel scope link src 10.1.1.13
  14. 10.1.1.0/24 dev eth1 proto kernel scope link src 10.1.1.31
  15. 10.1.1.0/24 dev eth2 proto kernel scope link src 10.1.1.35
  16. 10.1.1.0/24 dev eth3 proto kernel scope link src 10.1.1.36
  17. 10.1.1.0/24 dev eth4 proto kernel scope link src 10.1.1.39
  18.  
  19. 0: from all lookup local
  20. 500: from 10.1.1.13 lookup 1
  21. 600: from 10.1.1.31 lookup 2
  22. 700: from 10.1.1.35 lookup 3
  23. 800: from 10.1.1.36 lookup 4
  24. 900: from 10.1.1.39 lookup 5
  25. 32766: from all lookup main
  26. 32767: from all lookup default
  27.  
  28. Kernel IP routing table
  29. Destination Gateway Genmask Flags Metric Ref Use Iface
  30. 0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth0
  31. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
  32. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
  33. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
  34. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth3
  35. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth4
  36.  
  37. default via 10.1.1.1 dev eth0
  38. default via 10.1.1.1 dev eth1
  39. default via 10.1.1.1 dev eth2
  40. default via 10.1.1.1 dev eth3
  41. default via 10.1.1.1 dev eth4
  42. 10.1.1.0/24 dev eth0 proto kernel scope link src 10.1.1.13
  43. 10.1.1.0/24 dev eth1 proto kernel scope link src 10.1.1.31
  44. 10.1.1.0/24 dev eth2 proto kernel scope link src 10.1.1.35
  45. 10.1.1.0/24 dev eth3 proto kernel scope link src 10.1.1.36
  46. 10.1.1.0/24 dev eth4 proto kernel scope link src 10.1.1.39
  47.  
  48. 0: from all lookup local
  49. 500: from 10.1.1.13 lookup 1
  50. 600: from 10.1.1.31 lookup 2
  51. 700: from 10.1.1.35 lookup 3
  52. 800: from 10.1.1.36 lookup 4
  53. 900: from 10.1.1.39 lookup 5
  54. 32766: from all lookup main
  55. 32767: from all lookup default
  56.  
  57. Kernel IP routing table
  58. Destination Gateway Genmask Flags Metric Ref Use Iface
  59. 0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth0
  60. 0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth1
  61. 0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth2
  62. 0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth3
  63. 0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth4
  64. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
  65. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
  66. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
  67. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth3
  68. 10.1.1.0 0.0.0.0 255.255.0.0 U 0 0 0 eth4
Add Comment
Please, Sign In to add comment