diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2022-01-22 23:18:36 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2022-01-22 23:18:36 +0100 |
commit | 4d3268b80b55e227a1a89515842cbaaa8a13d788 (patch) | |
tree | e7b85a5214614c5dcb7c999f56c0b369011b50d3 /roles/install_babeld/templates | |
parent | fb0dbf28a0e7979050858256d2040d734b282afe (diff) |
loppermann1
Diffstat (limited to 'roles/install_babeld/templates')
-rw-r--r-- | roles/install_babeld/templates/babeld.conf.j2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/install_babeld/templates/babeld.conf.j2 b/roles/install_babeld/templates/babeld.conf.j2 index c5cdda0..7da5e12 100644 --- a/roles/install_babeld/templates/babeld.conf.j2 +++ b/roles/install_babeld/templates/babeld.conf.j2 @@ -27,19 +27,22 @@ import-table 42 reflect-kernel-metric true # Filtering rules. -in ip 10.222.0.0/16 allow +in ip 10.0.0.0/8 allow in ip 2a03:2260:1016::/48 allow in ip 2003:46:e028::/48 allow # finzelberg in ip fd62:44e1:da::/48 allow +{% if ffrl_ip4 is defined %} in deny # ignore default routes on uplinks +{% endif %} {% for peer in ffrl_peers %} redistribute if {{ peer.name }} metric 128 {% endfor %} # Only redistribute addresses from a given prefix, to avoid redistributing # all local addresses -redistribute ip 10.222.0.0/16 allow +redistribute ip 10.0.0.0/8 allow redistribute ip 2a03:2260:1016::/48 allow redistribute ip 64:ff9b::/96 allow +redistribute ip 2003:46:e028::/48 allow # finzelberg redistribute ip fd62:44e1:da::/48 allow redistribute local deny |