Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: IPv6 Address Not Assigned to OCI Ubuntu Instance by DHCP

edited Jul 10, 2023 9:03AM in Linux 7 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!