Initial commit, squashed
This commit is contained in:
commit
158e8740b8
83 changed files with 2718 additions and 0 deletions
16
roles/exit/templates/radvd.conf.j2
Normal file
16
roles/exit/templates/radvd.conf.j2
Normal file
|
@ -0,0 +1,16 @@
|
|||
{# Note that there must be exactly one VLAN-aware bridge. #}
|
||||
{% set bridge = interfaces | selectattr('type') | selectattr('type.value', '==', 'bridge') | first %}
|
||||
{% set my_vlans = bridge.tagged_vlans | sort(attribute='vid') -%}
|
||||
|
||||
# Send IPv6 RAs from virtual router IP for each network. Also set DNS options.
|
||||
# Both exits announce the same gateway, so don’t revoke it if we go down.
|
||||
{% for vlan in my_vlans %}
|
||||
interface bridge-{{ vlan.vid }}-v0 {
|
||||
AdvSendAdvert on;
|
||||
RemoveAdvOnExit off;
|
||||
prefix ::/64;
|
||||
RDNSS {{ dns6 | join(' ') }} { };
|
||||
DNSSL {{ domain }} { };
|
||||
};
|
||||
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue