Skip to content

IPv6 Oracle Cloud

VCN Settings

https://cloud.oracle.com/networking/vcns?region=ca-toronto-1
Navigate to the main VCN, then under CIDR Blocks and Prefixes, click Add CIDR Block

A GUA IPv6 range will be assigned by Oracle.

Go to Route Tables and click the default one.

  • choose IPv6
  • type is Internet Gateway
  • enter ::/0 for all IPv6 addresses

Go to Security Lists and click the default one
Ingress Rules

  • IPv6-ICMP to allow pings to the server
  • The ingress ports are applied since without it the server cannot access IPv6 websites


    Egress Rules
  • same as IPv4, allow all egress

Instance Settings

https://cloud.oracle.com/compute/instances?region=ca-toronto-1
Click on the instance name, and scroll down until Attached VNIC and click on the default
Under resources there is IPv6 Addresses and click on Assign IPv6 Address

  • multiple addresses can be assigned to the same machine, however these are single /128 and it can only be added via Oracle cloud console

After adding the address, refresh network service in Ubuntu.

sudo systemctl restart systemd-networkd

Comments