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, system interface, and DHCP.
- 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
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Virtual Private Cloud > Subnets.
The Subnets page is displayed.
- Locate the target subnet and click its name.
The subnet details page is displayed.
- Click the IP Addresses tab to view the IP addresses in the subnet.
- In the virtual IP address list, you can view the virtual IP addresses assigned from the subnet.
- In the private IP address list in the lower part of the page, you can view the private IP addresses used by the subnet (gateway, system interface, and DHCP).