Skip to content

Commit 01ad846

Browse files
committed
PUDN, static ips: add IPv6 considerations to "preserving the VM gateway" section
Signed-off-by: Miguel Duarte Barroso <[email protected]>
1 parent d8682df commit 01ad846

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

enhancements/network/routed-ingress-support-for-primary-udn-attached-vms-with-static-ips.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,16 @@ The primary UDN gateway code will need to be updated to parametrize the gateway
264264
IP address, since today it is using the UDN subnet first IP address.
265265
To keep the feature backwards compatible, that would be the default if the UDN
266266
does **not** feature the gateway configuration. This will ensure the
267-
DHCP/RA flows on the logical switch are advertising the correct gateway
267+
DHCP flows on the logical switch are advertising the correct gateway
268268
information to the guests on the network, and also that the gateway is properly
269269
configured to allow features like Kubernetes `Services`.
270270

271+
For IPv6 the flow will be different; IPv6 gateways are dynamic ! Hence, when a
272+
VM is imported into OpenShift Virtualization, the OVN control plane must send a
273+
RouterAdvertisement to the VM instructing it to forget about the old gateway -
274+
i.e. send an RA with `lifetime = 0` with the source address of the gateway
275+
defined for the VM in the old cluster.
276+
271277
Another aspect to take into consideration is the gateway MAC address; when we
272278
import a VM into OpenShift Virtualization, the VM is started from scratch on
273279
the destination cluster. Hence, the neighbor caches (ARP, NDP) will be updated.

0 commit comments

Comments
 (0)