diff options
Diffstat (limited to 'ansible/bgp/templates/bird.conf2.j2')
-rw-r--r-- | ansible/bgp/templates/bird.conf2.j2 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/ansible/bgp/templates/bird.conf2.j2 b/ansible/bgp/templates/bird.conf2.j2 new file mode 100644 index 0000000..5ec3131 --- /dev/null +++ b/ansible/bgp/templates/bird.conf2.j2 @@ -0,0 +1,64 @@ +log syslog all; + +router id from "eth0"; + +debug protocols all; + +protocol device { +} + +protocol direct { + interface "wg0"; + ipv6 { + import filter { + if net ~ fdf3:aad9:a885::/48 then accept; + reject; + }; + }; +} + +filter tnet +{ + if net ~ fdf3:aad9:a885::/48 then accept "tnet ok"; + reject "tnet reject"; +} + +protocol kernel { + ipv6 { + import filter tnet; + export filter tnet; + }; + metric 0; +} + +protocol bgp akili { + #disabled; + local fdf3:aad9:a885:b3a::1 as 4230483679; + neighbor fdf3:aad9:a885:b3a::7 internal; + password "trygvis"; + direct; + + rr client; + + ipv6 { + import filter tnet; + import keep filtered; + export filter tnet; + }; +} + +protocol bgp astyanax { + #disabled; + local fdf3:aad9:a885:b3a::1 as 4230483679; + neighbor fdf3:aad9:a885:b3a::10 internal; + password "trygvis"; + direct; + + rr client; + + ipv6 { + import filter tnet; + import keep filtered; + export filter tnet; + }; +} |