Deleting a Reserved IPv4 Address

Delete a reserved IPv4 address from the subnet.

    1. Open the navigation menu and click Networking. Under Virtual cloud networks, click the name of the VCN that you want.
    2. Under Resources, click Subnets.

      The subnets in the VCN are listed.

    3. Click the name of the subnet to access the Subnet Details page.
    4. Under Resources, click IPv4 Addresses.

      The IP addresses in the subnet are listed.

    5. For the reserved IPv4 address you want to delete, click the Actions menu (Actions Menu), and then select Delete.
    6. In the confirmation dialog box, click Delete.
      The reserved IPv4 address is successfully deleted.
  • If the reserved IPv4 address is attached to any instance or Virtual Network Interface Card (VNIC), use the private-ip private-ip-vnic-detach command and required parameters to detach a private IPv4 address reservation, and then use the private-ip delete command and required parameters to delete the detached private IP address:

    oci network private-ip private-ip-vnic-detach ... [OPTIONS]

    Use the private-ip delete command and required parameters to delete the private IP address:

    oci network private-ip 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 IPv4 address isn't attached to any instance or Virtual Network Interface Card (VNIC), then run the DeletePrivateIp operation to delete the reserved private IPv4 address.

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