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:
parent
479f8c3486
commit
935e66dbd8
2 changed files with 5 additions and 0 deletions
|
@ -9,5 +9,6 @@ iface {{ item.id }}br
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for prefix in item.ipv6_public %}
|
{% for prefix in item.ipv6_public %}
|
||||||
address {{ prefix | ipaddr('net') | ipsubnet(64, 0) | ipaddr(magic) | ipaddr('ip/prefix') }}
|
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 %}
|
{% endfor %}
|
||||||
bridge-ports {{ item.id }}bat
|
bridge-ports {{ item.id }}bat
|
||||||
|
|
|
@ -15,6 +15,10 @@ protocol radv radv_{{ mesh.id }} {
|
||||||
valid lifetime {{ mesh.radvd.advvalidlifetime }};
|
valid lifetime {{ mesh.radvd.advvalidlifetime }};
|
||||||
preferred lifetime {{ mesh.radvd.advpreferredlifetime }};
|
preferred lifetime {{ mesh.radvd.advpreferredlifetime }};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prefix {{ prefix | ipaddr('net') | ipsubnet(64, 0) | ipaddr('subnet') }} {
|
||||||
|
skip yes;
|
||||||
|
};
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
rdnss {
|
rdnss {
|
||||||
|
|
Loading…
Reference in a new issue