Associating a Route Table with a Subnet

Scenarios

After a route table is associated with a subnet, its routes control the routing for the subnet and apply to all cloud resources in the subnet.

Notes and Constraints

A subnet can only be associated with one route table.

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 Network > Virtual Private Cloud.
  3. In the navigation pane on the left, choose Virtual Private Cloud > Route Tables.
  4. In the route table list, locate the row that contains the target route table and click Associate Subnet in the Operation column.
  5. Select the subnet to be associated.
    Figure 1 Associate Subnet
  6. Click OK.