From 09ae1230753c1db32eac9c3e30ebceab7d6d2b56 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Fri, 26 Jan 2018 16:10:11 +0100 Subject: fix --- roles/install_babeld/templates/babeld.conf.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'roles/install_babeld') 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 -- cgit v1.2.3-54-g00ecf