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 %}
|
||||
{% 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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue