Modifying a VPC
Scenarios
Constraints
If the secondary IPv4 CIDR block function is available in a region, the CIDR block of a VPC in this region cannot be modified through the console. You can call an API to modify VPC CIDR block. For details, see section "Updating a VPC" in the Virtual Private Cloud API Reference.
Modifying the Name and Description of a VPC
- Go to the VPC list page.
- Modify the name and description of a VPC using either of the following methods:
Modifying the CIDR Block of a VPC
- Go to the VPC list page.
- In the VPC list, locate target VPC and click Edit CIDR Block in the Operation column.
The Edit CIDR Block dialog box is displayed.
- Modify the VPC CIDR block as prompted.
A VPC CIDR block must be from 10.0.0.0/8–24, 172.16.0.0/12–24, or 192.168.0.0/16–24.
- If a VPC has no subnets, you can change both its network address and subnet mask.
Figure 1 Modifying network address and subnet mask
- If a VPC has subnets, you only can change its subnet mask.
Figure 2 Modifying subnet mask
- If a VPC has no subnets, you can change both its network address and subnet mask.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.