diff options
Diffstat (limited to 'roles/install_babeld/templates')
-rw-r--r-- | roles/install_babeld/templates/babeld.conf.j2 | 6 |
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 |