Deleting a Reserved IPv6 Address

Delete a reserved IPv6 address from the subnet.

    1. On the VCN list page, select the VCN that contains the subnet you want to work with. This takes you to the VCN's details page.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • Select the Subnets tab, then select the name of the subnet you want to work with.
      • Scroll down to the table following the VCN details, which lists the subnets in the VCN. Select the name of the subnet you want to work with.
    3. Depending on the option that you see:
      • Select the IP adminstration tab. IPv6 Addresses is the second table of IP resources on the page.
      • Under Resources, select IPv6 Addresses.
    4. For the reserved IPv6 address you want to remove the reservation, select the Actions menu Actions Menu, and then select Delete.
    5. In the confirmation dialog box, select Delete.
      The reserved IPv6 address is successfully deleted.
  • If the reserved IPv6 address is attached to any instance or Virtual Network Interface Card (VNIC), use the ipv6 ipv6-vnic-detach command and required parameters to detach the private IPv6 address reservation, and then use the ipv6 delete command and required parameters to delete the detached private IPv6 address:

    oci network ipv6 ipv6-vnic-detach ... [OPTIONS]

    Use the ipv6 delete command and required parameters to delete the private IPv6 address:

    oci network ipv6 delete --private-ip-id IP_address_OCID ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • If the reserved IPv6 address isn't attached to any instance or Virtual Network Interface Card (VNIC), run the DeletePrivateIp operation to delete the reserved private IPv6 address.

    If the reserved IPv6 address is attached to any instance or Virtual Network Interface Card (VNIC), run the UpdateIpv6 operation to detach it from the VNIC and then run the DeletePrivateIp operation to delete the reserved private IPv6 address.