Routing Table
The routing table is a product at the VPC level that can control the network traffic path of cloud resources. A routing table consists of multiple routing rules, which take effect on all resources in the subnet by binding with the subnet.
Creating a Custom Routing Table
- Log in to the console and select "Private Network VPC" in "Products and Services" to enter the private network page. You can click "Create Routing Table" in the routing table tab to create a routing table instance.
- You need to fill in the following information to create a routing table. Click OK after filling in to create successfully.
Routing Table Name: Required, name this routing table.
Remarks: Optional, remarks information of the routing table, which is convenient for searching and locating the routing table.
Affiliated VPC: Required, the routing table is a resource under a VPC, and the created routing table can only be applied to the subnet under this VPC.
Business Group: Required, the default is Default. The business group to which the routing table belongs.
- After creation, you can see the created routing table instance in the list.
Add Custom Routing Rules
- On the details page, click "Add Rule" to fill in the rule. Fill in destination address, next hop type, next hop and other information in the pop-up. Click "OK" to add.
- After adding, you can edit and delete the rules. System routing rules are not allowed to be edited or deleted.
Binding Subnet
- After the routing rules are added, you can enter the "Bound Subnets" tab. Click "Bind Subnet" to bind the routing table with the subnet under the affiliated VPC.
- Select the subnet you need to bind, click OK to bind successfully. If the subnet is already bound to other routing tables, it will be switched to the current routing table.