Modifying a VPC
Scenarios
- Modifying the Name and Description of a VPC
- Modifying the CIDR Block of a VPC
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 VPC Information" in the Virtual Private Cloud API Reference.
Modifying the Name and Description of a VPC
- 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 Networking > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
- Modify the name and description of a VPC using either of the following methods:
Modifying the CIDR Block of a VPC
- 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 Networking > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
- In the VPC list, locate the row that contains the 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.