diff options
Diffstat (limited to 'tnet/files/node2')
-rw-r--r-- | tnet/files/node2/bird-tnet.conf (renamed from tnet/files/node2/bird.conf) | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tnet/files/node2/bird.conf b/tnet/files/node2/bird-tnet.conf index 99dfc5e..813b0f5 100644 --- a/tnet/files/node2/bird.conf +++ b/tnet/files/node2/bird-tnet.conf @@ -1,3 +1,11 @@ +define tnet = fdb1:4242:3538::/48; +define tnet_router = fdb1:4242:3538:ffff::/64; + +function is_tnet() -> bool +{ + return net ~ tnet && ! (net ~ tnet_router); +} + template bgp tnet_tpl { local as 4242423538; neighbor internal; |