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