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. On the Networking tab, go to the Attached VNICs section and select the VNIC that you're interested in.
    4. Select the IP administration tab.
      The IP addresses associated with the VNIC are listed in tabular form.
    5. Find the IP address you want to update, select its Actions menu (three dots), and then select Edit.
    6. Update the hostname, public IP type, and route table as needed. For more information, see Assigning a New Secondary Private IP to a VNIC
    7. 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.