Help Center> Virtual Private Cloud> User Guide> VPC and Subnet> Subnet> Viewing IP Addresses in a Subnet
Updated on 2024-04-30 GMT+08:00

Viewing IP Addresses in a Subnet

Scenarios

A subnet is an IP address range in a VPC. This section describes how to view the used IP addresses in a subnet.
  • Virtual IP addresses
  • Private IP addresses
    • Used by the subnet itself, such as the gateway, DHCP, and system interface.
    • Used by cloud resources, such as ECSs, load balancers, and RDS instances.

Notes and Constraints

  • A subnet cannot be deleted if its IP addresses are used by cloud resources.
  • A subnet can be deleted if its IP addresses are used by itself.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  4. In the navigation pane on the left, choose Virtual Private Cloud > Subnets.

    The Subnets page is displayed.

  5. Locate the target subnet and click its name.

    The subnet details page is displayed.

  6. Click the IP Addresses tab to view the IP addresses in the subnet.
    1. In the virtual IP address list, you can view the virtual IP addresses assigned from the subnet.
    2. In the private IP address list in the lower part of the page, you can view the private IP addresses, the resources that use the IP addresses of the subnet, and the resource ID.
    Figure 1 Viewing IP addresses in a subnet

Follow-up Operations

If you want to view and delete the resources in a subnet, refer to Why Can't I Delete My VPCs and Subnets?