Help Center/ Virtual Private Cloud/ User Guide/ Route Table and Route/ Managing Route Tables/ Changing the Route Table Associated with a Subnet
Updated on 2024-08-07 GMT+08:00

Changing the Route Table Associated with a Subnet

Scenarios

You can change the route table for a subnet. If the route table is changed, routes in the new route table will apply to all cloud resources in the subnet.

Procedure

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

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Virtual Private Cloud > Route Tables.
  4. Click the name of the target route table.
  5. On the Associated Subnets tab page, click Change Route Table in the Operation column and select a new route table as prompted.
  6. Click OK.

    After the route table is changed, routes in the new route table will apply to all cloud resources in the subnet.