radvd: advertise keepalived VIP

This commit is contained in:
Yohaï-Eliel BERREBY 2020-08-01 16:05:41 +02:00
parent 56808e4e60
commit 2e6306b61e
1 changed files with 13 additions and 3 deletions

View File

@ -12,8 +12,11 @@
# AdvLinkMTU {{ mtu }};
# AdvDefaultPreference high;
# MaxRtrAdvInterval 30;
#
#
#
# AdvRASrcAddress {
# {{ ipv6_base_prefix }}:{{ subnet_ids.ap }}::0:250; # Unifi controller
# };
#
# prefix {{ ipv6_base_prefix }}:{{ subnet_ids.ap }}::/64 {
# AdvRouterAddr on;
# };
@ -26,7 +29,6 @@
# RDNSS {{ ipv6_base_prefix }}:{{ subnet_ids.ap }}::{{ dns_host_suffix_backup }} {};
# };
##
# Utilisateurs filaire
##
@ -36,6 +38,10 @@ interface ens20 {
AdvDefaultPreference high;
MaxRtrAdvInterval 30;
AdvRASrcAddress {
{{{ ipv6_base_prefix }}:{{ subnet_ids.users_wired }}::0:{{ router_ip_suffix }};
};
prefix {{ ipv6_base_prefix }}:{{ subnet_ids.users_wired }}::/64 {
AdvRouterAddr on;
};
@ -56,6 +62,10 @@ interface ens21 {
AdvDefaultPreference high;
MaxRtrAdvInterval 30;
AdvRASrcAddress {
{{{ ipv6_base_prefix }}:{{ subnet_ids.users_wifi }}::0:{{ router_ip_suffix }};
};
prefix {{ ipv6_base_prefix }}:{{ subnet_ids.users_wifi }}::/64 {
AdvRouterAddr on;
};