Role network-meshbridge + service-bird: announce specific gate prefix instead of the 'global' one

* configure a local ip address on meshbridge from the 'gate-specific' public IPv6 prefix
* disable announcement for the 'global' public IPv6 prefix
This commit is contained in:
Tobias Hachmer 2018-11-09 21:13:07 +01:00
parent 479f8c3486
commit 935e66dbd8
No known key found for this signature in database
GPG key ID: E112788464CA5C60
2 changed files with 5 additions and 0 deletions

View file

@ -9,5 +9,6 @@ iface {{ item.id }}br
{% endfor %}
{% for prefix in item.ipv6_public %}
address {{ prefix | ipaddr('net') | ipsubnet(64, 0) | ipaddr(magic) | ipaddr('ip/prefix') }}
address {{ prefix | ipaddr('net') | ipsubnet(56, magic) | ipsubnet(64, 0) | ipaddr(magic) | ipaddr('ip/prefix') }}
{% endfor %}
bridge-ports {{ item.id }}bat

View file

@ -15,6 +15,10 @@ protocol radv radv_{{ mesh.id }} {
valid lifetime {{ mesh.radvd.advvalidlifetime }};
preferred lifetime {{ mesh.radvd.advpreferredlifetime }};
};
prefix {{ prefix | ipaddr('net') | ipsubnet(64, 0) | ipaddr('subnet') }} {
skip yes;
};
{% endfor %}
rdnss {