bird6.conf.j2 640 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # This file is managed by ansible. Do not edit by hand!
  3. #
  4. log syslog all;
  5. router id {{routerid}};
  6. include "/etc/bird6.d/*.cfg"
  7. protocol static uplink_hostroute {
  8. import all;
  9. export all;
  10. }
  11. protocol direct {
  12. interface "*";
  13. }
  14. protocol kernel {
  15. persist;
  16. device routes;
  17. scan time 20;
  18. import all;
  19. export all;
  20. kernel table 42;
  21. }
  22. protocol device {
  23. scan time 10;
  24. }
  25. template bgp ibgp {
  26. local as {{as}};
  27. source address {{mesh_ipv6|ipaddr('address')}};
  28. import all;
  29. export all;
  30. next hop self;
  31. direct;
  32. gateway direct;
  33. }