summaryrefslogtreecommitdiff
path: root/roles/install_babeld/templates/babeld.conf.j2
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-26 16:10:11 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-26 16:10:11 +0100
commit09ae1230753c1db32eac9c3e30ebceab7d6d2b56 (patch)
tree6cf4bdd2d35b12d03dae3085d566716c6e79142c /roles/install_babeld/templates/babeld.conf.j2
parentb7615bd04e0baf7be264af874f1ab7260402e49d (diff)
fix
Diffstat (limited to 'roles/install_babeld/templates/babeld.conf.j2')
-rw-r--r--roles/install_babeld/templates/babeld.conf.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/install_babeld/templates/babeld.conf.j2 b/roles/install_babeld/templates/babeld.conf.j2
index 47a4d3e..ff38930 100644
--- a/roles/install_babeld/templates/babeld.conf.j2
+++ b/roles/install_babeld/templates/babeld.conf.j2
@@ -14,6 +14,9 @@ interface bb{{ hostvars[peer]['wireguard_bb_name'] }}
{% for peer in groups['fastd'] %}
interface bb{{ hostvars[peer]['wireguard_bb_name'] }}
{% endfor %}
+{% for peer in wireguard_bb_peers|default([]) %}
+interface bb{{ peer.name }}
+{% endfor %}
{% endif %}
# Global options you might want to set. There are many more, see the man page.
@@ -61,6 +64,7 @@ redistribute if {{ peer.name }} metric 128
# Only redistribute addresses from a given prefix, to avoid redistributing
# all local addresses
redistribute ip 10.222.0.0/16 allow
-redistribute ip 2001:470:cd45:FF00::/56 allow
+redistribute ip 2a01:198:70a:ff::0/64 allow
+redistribute ip 2001:470:cd45:ff00::/56 allow
redistribute ip 2a03:2260:1016::/48 allow
redistribute local deny