keepalived: add IPv6 virtual route

This commit is contained in:
Yohaï-Eliel BERREBY 2020-08-01 16:07:27 +02:00
parent 2e6306b61e
commit 361fd54414

View file

@ -60,5 +60,9 @@ vrrp_instance VI_ROUT_{{ apartment_block }} {
virtual_routes {
# 10.129.0.1 is Yggdrasil
src 10.129.{{ apartment_block_id }}.254 to 0.0.0.0/0 via 10.129.0.1 dev ens19
# For IPv6, the master router is routeur-aurore, NOT yggdrasil,
# because yggdrasil doesn't support BGPv6 announcements.
src {{ ipv6_base_prefix }}:129::{{ apartment_block_id }}:254 to ::/0 via {{ ipv6_base_prefix }}:129::0:1 dev ens19
}
}