Editing Private IP Address Information

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

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