Editing an existing Reserved IPv4 Address

Edit the name or hostname of an existing reserved IPv4 address that's not assigned to any resource in 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 edit, click the Actions menu (Actions Menu), and then select Edit.
    6. In the Edit IP resource properties dialog box, edit the following information:
      • Name: Update the name for the reserved IP address. It doesn't have to be unique, and it can be changed in the Console. Avoid entering confidential information.
      • Hostname: Update the hostname with another alphanumeric name without any spaces.
    7. Click Save changes.
      The reserved IPv4 address is successfully updated and displayed on the page.
  • Use the private-ip update command and required parameters to edit the private IP address:

    oci network private-ip update --private-ip-id IP_address_OCID
    --hostname-label new_hostname_label ... [OPTIONS]

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

  • Run the UpdatePrivateIp operation to edit a private IP address.