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. 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.
      • Under Resources, select IPv4 Addresses.
    4. For the reserved IPv4 address you want to edit, select the Actions menu Actions Menu, and then select Edit.
    5. 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.
    6. Select 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.