Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. vyos 1
  2.  
  3. set interfaces ethernet eth1 address 132.235.160.200/26
  4. set interfaces ethernet eth2 address 132.235.201.182/30
  5. set protocols static route 0.0.0.0/0 next-hop 132.235.160.254
  6. set protocols static route 132.235.201.172/30 next-hop 132.235.201.181
  7. set protocols static route 132.235.201.164/30 next-hop 132.235.201.181
  8. set protocols static route 132.235.201.160/30 next-hop 132.235.201.181
  9. set protocols static route 132.235.201.176/30 next-hop 132.235.201.181
  10. set protocols static route 132.235.201.168/30 next-hop 132.235.201.181
  11. set nat source rule 100 outbound-interface eth1
  12. set nat source rule 100 source address 132.235.201.160/27
  13. set nat source rule 100 translation address masquerade
  14.  
  15.  
  16. vyos 2
  17.  
  18. set interfaces ethernet eth1 address 132.235.201.181/30
  19. set interfaces ethernet eth3 address 132.235.201.178/30
  20. set interfaces ethernet eth2 address 132.235.201.174/30
  21. set protocols static route 132.235.201.164/30 next-hop 132.235.201.177
  22. set protocols static route 132.235.201.160/30 next-hop 132.235.201.177
  23. set protocols static route 132.235.201.168/30 next-hop 132.235.201.173
  24. set protocols static route 0.0.0.0/0 next-hop 132.235.201.182
  25.  
  26.  
  27. vyos 3
  28.  
  29. set interfaces ethernet eth1 address 132.235.201.173/30
  30. set interfaces ethernet eth2 address 132.235.201.170/30
  31. set protocols static route 132.235.201.180/30 next-hop 132.235.201.174
  32. set protocols static route 132.235.201.164/30 next-hop 132.235.201.174
  33. set protocols static route 132.235.201.160/30 next-hop 132.235.201.174
  34. set protocols static route 132.235.201.176/30 next-hop 132.235.201.174
  35. set protocols static route 0.0.0.0/0 next-hop 132.235.201.174
  36.  
  37. vyos 4
  38.  
  39. set interfaces ethernet eth1 address 132.235.201.162/30
  40. set interfaces ethernet eth0 address 132.235.201.177/30
  41. set interfaces ethernet eth2 address 132.235.201.166/30
  42. set protocols static route 132.235.201.172/30 next-hop 132.235.201.178
  43. set protocols static route 132.235.201.180/30 next-hop 132.235.201.178
  44. set protocols static route 132.235.201.168/30 next-hop 132.235.201.178
  45. set protocols static route 0.0.0.0/0 next-hop 132.235.201.178
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement