This topic describes how to associate a custom route table with a VSwitch. After you associate a custom route table with a VSwitch, you can use the custom route table to control how the VSwitch routes network traffic. A route table can be associated with multiple VSwitches. A VSwitch can be associated with only one route table. After a VSwitch is associated with a custom route table, the system route table is automatically disassociated.

Prerequisites

A VSwitch is created. For more information, see Create a VSwitch.
Note Custom route tables are supported in all region except the China (Beijing), China (Shenzhen), and China (Hangzhou) regions.

Procedure

  1. Log on to the VPC console.
  2. In the left-side navigation pane, click Route Tables.
  3. Select the region of the target route table.
  4. On the Route Tables page, find the target route table and click Manage in the Actions column.
  5. On the Route Table page, click the Associated VSwitch tab and then click Associate VSwitch.
  6. In the Associate VSwitch pane, select the target VSwitch and click OK.