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 Virtual Cloud Networks list page, select the VCN that contains the subnet that you want to work with. This takes you to the VCN's details page. If you need help finding the list page or the VCN, see Listing VCNs.
    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. Perform one of the following actions depending on the option that you see:
      • Select the IP administration tab.
      • Under Resources, select IPv4 Addresses.
    4. For the reserved IPv4 address you want to edit, select the Actions menu (three dots), and then select Edit.
    5. On the Edit IP resource properties page, edit the following information:
      • Name: Update the name for the reserved IP address. It doesn't have to be unique. 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.