radvd: fix wifi interface, comment out APs for now

This commit is contained in:
Yohaï-Eliel BERREBY 2020-08-01 14:20:08 +02:00
parent a4841e6947
commit f09b0906c6

View file

@ -4,32 +4,33 @@
# Bornes Wi-Fi # Bornes Wi-Fi
## ##
interface ens19 { # XXX - FIX THE INTERFACE NAME # Not deployed yet!
AdvSendAdvert on; # Need to add an interface for this VLAN on "routeur-*" hosts.
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 }} {};
};
# 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 # Utilisateurs filaire
## ##
interface ens20 { # XXX interface ens20 {
AdvSendAdvert on; AdvSendAdvert on;
AdvLinkMTU {{ mtu }}; AdvLinkMTU {{ mtu }};
AdvDefaultPreference high; AdvDefaultPreference high;
@ -49,7 +50,7 @@ interface ens20 { # XXX
## ##
# Utilisateurs wifi # Utilisateurs wifi
## ##
interface ens20 { # XXX: interface name interface ens21 {
AdvSendAdvert on; AdvSendAdvert on;
AdvLinkMTU {{ mtu }}; AdvLinkMTU {{ mtu }};
AdvDefaultPreference high; AdvDefaultPreference high;
@ -65,3 +66,6 @@ interface ens20 { # XXX: interface name
RDNSS 2a09:6840:{{ subnet_ids.users_wifi }}::{{ dns_host_suffix_backup }} {}; RDNSS 2a09:6840:{{ subnet_ids.users_wifi }}::{{ dns_host_suffix_backup }} {};
}; };
# For public IPs: will use DHCPv6, deployed on routeur-aurore alone.