From f09b0906c6a73ed7c6f68fd21ec829160eb9326b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoha=C3=AF-Eliel=20BERREBY?= Date: Sat, 1 Aug 2020 14:20:08 +0200 Subject: [PATCH] radvd: fix wifi interface, comment out APs for now --- roles/radvd/templates/radvd.conf.j2 | 46 ++++++++++++++++------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/roles/radvd/templates/radvd.conf.j2 b/roles/radvd/templates/radvd.conf.j2 index e2f91e2..f773514 100644 --- a/roles/radvd/templates/radvd.conf.j2 +++ b/roles/radvd/templates/radvd.conf.j2 @@ -4,32 +4,33 @@ # Bornes Wi-Fi ## -interface ens19 { # XXX - FIX THE INTERFACE NAME - AdvSendAdvert on; - AdvLinkMTU {{ mtu }}; - AdvDefaultPreference high; - MaxRtrAdvInterval 30; - - - prefix 2a09:6840:{{ subnet_ids.ap }}::/64 { - AdvRouterAddr on; - }; - - # La zone DNS - DNSSL borne.auro.re {}; - - # Les DNS récursifs - RDNSS 2a09:6840:{{ subnet_ids.ap }}::{{ dns_host_suffix_main }} {}; - RDNSS 2a09:6840:{{ subnet_ids.ap }}::{{ dns_host_suffix_backup }} {}; -}; - +# Not deployed yet! +# Need to add an interface for this VLAN on "routeur-*" hosts. +# interface ens19 { # XXX - FIX THE INTERFACE NAME +# AdvSendAdvert on; +# AdvLinkMTU {{ mtu }}; +# AdvDefaultPreference high; +# MaxRtrAdvInterval 30; +# +# +# prefix 2a09:6840:{{ subnet_ids.ap }}::/64 { +# AdvRouterAddr on; +# }; +# +# # La zone DNS +# DNSSL borne.auro.re {}; +# +# # Les DNS récursifs +# RDNSS 2a09:6840:{{ subnet_ids.ap }}::{{ dns_host_suffix_main }} {}; +# RDNSS 2a09:6840:{{ subnet_ids.ap }}::{{ dns_host_suffix_backup }} {}; +# }; ## # Utilisateurs filaire ## -interface ens20 { # XXX +interface ens20 { AdvSendAdvert on; AdvLinkMTU {{ mtu }}; AdvDefaultPreference high; @@ -49,7 +50,7 @@ interface ens20 { # XXX ## # Utilisateurs wifi ## -interface ens20 { # XXX: interface name +interface ens21 { AdvSendAdvert on; AdvLinkMTU {{ mtu }}; AdvDefaultPreference high; @@ -65,3 +66,6 @@ interface ens20 { # XXX: interface name RDNSS 2a09:6840:{{ subnet_ids.users_wifi }}::{{ dns_host_suffix_backup }} {}; }; + + +# For public IPs: will use DHCPv6, deployed on routeur-aurore alone.