RyanM74

VYOS-TUN

Feb 25th, 2019
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. set protocols ospf area 0.0.0.0 authentication 'md5'
  2. set protocols ospf area 0.0.0.0 network '172.31.0.96/30'
  3. set protocols ospf area 0.0.0.0 network '172.31.0.196/30'
  4. set protocols ospf distribute-list 100 'import'
  5. set protocols ospf neighbor '172.31.0.97'
  6. set protocols ospf neighbor '172.31.0.197'
  7. set protocols ospf parameters router-id '192.168.254.254'
  8. set protocols ospf redistribute connected route-map 'RM-CONN-TO-OSPF'
  9.  
  10.  
  11.  
  12. set interfaces tunnel tun100 address '172.31.0.98/30'
  13. set interfaces tunnel tun100 description 'TUN43'
  14. set interfaces tunnel tun100 encapsulation 'gre'
  15. set interfaces tunnel tun100 ip ospf authentication 'md5'
  16. set interfaces tunnel tun100 ip ospf authentication md5-key-id 1 md5-key PASS-A
  17. set interfaces tunnel tun100 ip ospf dead-interval '120'
  18. set interfaces tunnel tun100 ip ospf network 'non-broadcast'
  19. set interfaces tunnel tun100 local-ip '10.55.163.170'
  20. set interfaces tunnel tun100 mtu '1476'
  21. set interfaces tunnel tun100 multicast 'disable'
  22. set interfaces tunnel tun100 remote-ip '10.254.3.202'
  23. set interfaces tunnel tun200 address '172.31.0.198/30'
  24. set interfaces tunnel tun200 description 'TUN63'
  25. set interfaces tunnel tun200 encapsulation 'gre'
  26. set interfaces tunnel tun200 ip ospf authentication 'md5'
  27. set interfaces tunnel tun200 ip ospf authentication md5-key-id 1 md5-key PASS-A
  28. set interfaces tunnel tun200 ip ospf dead-interval '120'
  29. set interfaces tunnel tun200 ip ospf network 'non-broadcast'
  30. set interfaces tunnel tun200 local-ip '10.55.163.170'
  31. set interfaces tunnel tun200 mtu '1476'
  32. set interfaces tunnel tun200 multicast 'disable'
  33. set interfaces tunnel tun200 remote-ip '172.19.139.253'
Advertisement
Add Comment
Please, Sign In to add comment