Listing Private IP Addresses

View a list of all private IP addresses for an instance.

    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.
  • Use the Private-ip list command and required parameters to list private IP addresses for an instance:

    oci network private-ip list --vnic-id VNIC_OCID ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ListPrivateIps operation to list private IPs for an instance.