diff options
Diffstat (limited to 'tnet/files/hash')
-rw-r--r-- | tnet/files/hash/bird-tnet.conf (renamed from tnet/files/hash/bird.conf) | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tnet/files/hash/bird.conf b/tnet/files/hash/bird-tnet.conf index 16ce2cc..b2afdc8 100644 --- a/tnet/files/hash/bird.conf +++ b/tnet/files/hash/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; |