Editing IPv4 CIDR Blocks

Last updated: 2021-05-20 10:20:20

    Once created, the primary CIDR block of your VPC cannot be modified. When the primary CIDR block is insufficient, you can create secondary CIDR blocks to add IP ranges.

    说明:

    • The secondary CIDR block feature is currently in beta. To try it out, please submit a ticket.
    • A secondary CIDR block can overlap with the destination IP range of a custom route. Note that the secondary CIDR block uses a local route, which has a higher priority than that of custom subnet routes.
    • Classic network-based CVMs cannot interconnect with cloud resources in the secondary CIDR block.
    • Currently, only Cloud Connect Network (CCN) supports secondary CIDR blocks. That is, CVMs in the secondary CIDR blocks cannot communicate with other VPCs or IDCs via peering connection or Direct Connect.

    Creating Secondary CIDR Blocks

    1. Log in to the VPC console.

    2. Select the region of the VPC at the top of the VPC page.

    3. In the VPC list, locate the VPC and select More > Edit IPv4 CIDR block under the Operation column.

    4. In the pop-up dialog box, click Add to enter a secondary CIDR block.

    5. Click OK.

    Deleting Secondary CIDR Blocks

    1. Log in to the VPC console.

    2. Select the region of the VPC at the top of the VPC page.

    3. In the VPC list, locate the target VPC, and select More > Edit IPv4 CIDR block under the Operation column.

    4. In the pop-up dialog box, click Delete next to the secondary CIDR block.

    5. Click OK.