Adding an IPv6 Prefix to a Subnet
Add an IPv6 prefix to a subnet in a Virtual Cloud Network (VCN).
If the 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.
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 parameters and values for CLI commands, see the CLI Command Reference.
Run the AddIpv6SubnetCidr operation to add an IPv6 prefix to a subnet.