Listing IPv4 Addresses of all Resources in a Subnet

View IPv4 addresses of all resources in a subnet.

    1. Open the navigation menu and click Networking. Under Virtual cloud networks, click the name of the VCN that you want.
    2. Under Resources, click Subnets.

      The subnets in the VCN are listed.

    3. Click the name of the subnet to access the Subnet Details page.
    4. Under Resources, click IPv4 Addresses.
    5. Under Filters, use the following options to refine search.
      • Lifetime: Use Ephemeral, Reserved, or All to list ephemeral IP addresses, reserved IP addresses, or all IP addresses.
      • State: Use Assigned, Available, or All to list IP addresses already assigned to resources, IP addresses available, or all IP addresses.
      You can combine filters to narrow down the search results. Based on the selected filters, the Console displays IP address of all resources in the subnet.
    6. Under IPv4 addresses, view the list of IP addresses used in the subnet along with following information:
      • Name: A descriptive name for the reserved IP address. It doesn't have to be unique, and it can be changed later in the Console. Avoid entering confidential information.
      • IP address: Displays the reserved IP address.
      • Sate: Displays the state of the IP address which either Assigned or Available.
      • Lifetime: Displays the type of IP address which is either Ephemeral or Reserved. For more information, see Types of Public IPs.
      • Fully qualified domain name (FDQN): Displays the FDQN of the reserved IP address.
      • Created: Displays the date and time when the IP address was reserved for the resources in the subnet.
  • 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.