Role network-meshbridge: only configure public IPv6 subnet not gateways

This commit is contained in:
Julian Labus 2018-11-12 16:22:46 +01:00
parent 6d725812fd
commit 80259461cc
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -9,6 +9,8 @@ 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') }}
{% if ffmwu_server_type == "gateway" %}
address {{ prefix | ipaddr('net') | ipsubnet(56, magic) | ipsubnet(64, 0) | ipaddr(1) | ipaddr('ip/prefix') }}
{% endif %}
{% endfor %}
bridge-ports {{ item.id }}bat