Editing Private IP Address Information

Update information for a private IP address such as hostname or associated IP type.

    1. Open the navigation menu  and select Compute. Under Compute, select Instances.
    2. Select the name of the instance to open its details page.
    3. Under Resources, select Attached VNICs.
    4. Select the VNIC that you're interested in.
    5. Under Resources, select IPv4 Addresses.
      The VNIC's associated IP addresses are listed in tabular form.
    6. Find the IP address you want to update, select the Actions menu (Actions Menu), and then select Edit.
    7. Update the hostname or public IP type.
    8. Select Update.
  • Use the private-ip update command and required parameters to update information for 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 update a private IP address.