keepalived: add IPv6 virtual route
This commit is contained in:
parent
2e6306b61e
commit
361fd54414
1 changed files with 4 additions and 0 deletions
|
@ -60,5 +60,9 @@ vrrp_instance VI_ROUT_{{ apartment_block }} {
|
||||||
virtual_routes {
|
virtual_routes {
|
||||||
# 10.129.0.1 is Yggdrasil
|
# 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
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue