diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2017-11-25 23:58:34 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2017-11-25 23:58:36 +0100 |
commit | 488d7ca47601d4976dbda00c7b6e19f670fc4149 (patch) | |
tree | afe7145a30a42ed258aca2a11f898d5fef9269b6 /roles/space_server/files/bird | |
parent | 1b1d931fe4656cccbcf621913ce3b09a0d89280a (diff) | |
download | labitat-ansible-488d7ca47601d4976dbda00c7b6e19f670fc4149.tar.gz labitat-ansible-488d7ca47601d4976dbda00c7b6e19f670fc4149.tar.xz labitat-ansible-488d7ca47601d4976dbda00c7b6e19f670fc4149.zip |
space_server: bird: add preferred source
..to default routes
Diffstat (limited to 'roles/space_server/files/bird')
-rw-r--r-- | roles/space_server/files/bird/protocols.conf | 5 | ||||
-rw-r--r-- | roles/space_server/files/bird/symbol4.conf | 2 | ||||
-rw-r--r-- | roles/space_server/files/bird/symbol6.conf | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/roles/space_server/files/bird/protocols.conf b/roles/space_server/files/bird/protocols.conf index b84c6ac..f5cc85f 100644 --- a/roles/space_server/files/bird/protocols.conf +++ b/roles/space_server/files/bird/protocols.conf @@ -11,5 +11,8 @@ protocol kernel { persist; scan time 20; import all; - export all; + export filter { + krt_prefsrc = PREFSRC; + accept; + }; } diff --git a/roles/space_server/files/bird/symbol4.conf b/roles/space_server/files/bird/symbol4.conf index 80a8ed6..a23c865 100644 --- a/roles/space_server/files/bird/symbol4.conf +++ b/roles/space_server/files/bird/symbol4.conf @@ -3,3 +3,5 @@ define DEFAULT_ROUTE = 0.0.0.0/0; define LABITAT_PREFIXES = [ 185.38.175.0/24 ]; + +define PREFSRC = 185.38.175.0; diff --git a/roles/space_server/files/bird/symbol6.conf b/roles/space_server/files/bird/symbol6.conf index daed1b8..0dbd7b6 100644 --- a/roles/space_server/files/bird/symbol6.conf +++ b/roles/space_server/files/bird/symbol6.conf @@ -3,3 +3,5 @@ define DEFAULT_ROUTE = ::/0; define LABITAT_PREFIXES = [ 2a01:4260:1ab::/48 ]; + +define PREFSRC = 2a01:4260:1ab::; |