OCI: IPv6 Address Not Assigned to OCI Ubuntu Instance by DHCP
Applies to
Oracle Cloud Infrastructure
Ubuntu Linux 22.04 LTS
Symptoms
An IPv6 Address is created in a IPv6 enabled VCN and then assigned to an Ubuntu 22.04 LTS OCI instance primary VNIC from the OCI console interface.
After restarting the instance, the IPv6 address is not assigned to the VNIC.
Also, editing the /etc/netplan/50-cloud-init.yaml to dhcpv6 to true:
$ sudo nano /etc/netplan/50-cloud-init.yaml network: version: 2 ethernets: ens3: dhcp4: true dhcp6: true <<<< …
Then regenerating and applying the netplan configuration:
$ sudo netplan generate $ sudo netplan apply
This should result in the assigned IPv6 becoming active, but does not happen.
Cause
Tagged:
4