Adding an IPv6 prefix to a subnet
You can use the following methods to add an IPv6 prefix to a subnet.
If your subnet is in a VCN that has one or more assigned IPv6 prefixes and the subnet is enabled for IPv6 addressing you can add an IPv6 prefix unique to the subnet. This assignment can be done when you create the subnet or later on.
Use the network subnet add-ipv6-subnet-cidr command and required parameters to add an IPv6 prefix to a subnet:
oci network subnet add-ipv6-subnet-cidr --ipv6-cidr-block ipv6-prefix --subnet-id ocid ... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the AddIpv6SubnetCidr operation to add an IPv6 prefix to a subnet.