Skip to content

Commit c117013

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 2c4f3a3 commit c117013

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
@@ -260,10 +260,16 @@ The primary UDN gateway code will need to be updated to parametrize the gateway
260260
IP address, since today it is using the UDN subnet first IP address.
261261
To keep the feature backwards compatible, that would be the default if the UDN
262262
does **not** feature the gateway configuration. This will ensure the
263-
DHCP/RA flows on the logical switch are advertising the correct gateway
263+
DHCP flows on the logical switch are advertising the correct gateway
264264
information to the guests on the network, and also that the gateway is properly
265265
configured to allow features like Kubernetes `Services`.
266266

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

0 commit comments

Comments
 (0)