niammuddin

bird config bgp vultr

Aug 9th, 2021 (edited)
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. bird config file location "/etc/bird/bird.conf"
  2.  
  3. router id 45.77.38.109;
  4.  
  5. protocol bgp vultr
  6. {
  7. local as 142364;
  8. source address 45.77.38.109;
  9. import none;
  10. export all;
  11. graceful restart on;
  12. multihop 2;
  13. neighbor 169.254.169.254 as 64515;
  14. password "";
  15. }
  16.  
  17. protocol static
  18. {
  19. route 103.170.101.0/24 via 45.77.38.109;
  20. }
  21.  
  22. protocol device
  23. {
  24. scan time 5;
  25. }
  26. protocol direct
  27. {
  28. interface "dummy*";
  29. import all;
  30. }
  31.  
  32.  
  33. reference: https://www.vultr.com/docs/configuring-bgp-on-vultr
Add Comment
Please, Sign In to add comment