A route table is a list of route entries in a VPC. The network traffic is routed based on the configurations of the route entries in the route table. After a VPC is created, the system automatically creates a default route table and adds system routes to the route table for traffic management.
You cannot create or delete the default route table. However, you can create a custom route table and associate it with a VSwitch to control the routes of the corresponding subnet. To create a custom route table and associate it with a VSwitch, perform the following steps:
- Log on to the VPC console.
- In the left-side navigation pane, click Route Tables.
- Select the region of the route table to be created.
- On the Route Tables page, click Create Route Table.
The Create Route Table page appears.
- Configure the following parameters, and then click OK.
- From the VPC drop-down menu, select your VPC.
- In the Name text box, enter the name for the routing table.
The route table is created, and it gets added to the list of Route Tables.
- On the Route Tables page, select the route table that you have created and then click the Associated VSwitches tab.
- Click Associate VSwitch.
The Associate VSwitch page appears.
- From the VSwitch drop-down menu, select the relevant VSwitch to be associated with the Route Table.
Click Refresh to confirm that the VSwitch is associated with the Routing Table.