Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
8.1 KiB
Creating a Custom Route Table
Scenarios
A VPC automatically comes with a default route table. If your default route table cannot meet your service requirements, you can create a custom route table.
Notes and Constraints
By default, each VPC can have up to 10 route tables, including the default route table.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- Click
in the upper left corner and choose Network > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Virtual Private Cloud > Route Tables.
- In the upper right corner, click Create Route Table. On the displayed page, configure parameters as prompted.
Table 1 Parameter descriptions Parameter
Description
Example Value
Name
The name of the route table. This parameter is mandatory.
The name can contain a maximum of 64 characters, which may consist of letters, digits, underscores (_), hyphens (-), and periods (.). The name cannot contain spaces.
rtb-001
VPC
The VPC that the route table belongs to. This parameter is mandatory.
vpc-001
Description
Supplementary information about the route table. This parameter is optional.
The description can contain a maximum of 255 characters and cannot contain angle brackets (< or >).
-
Route Settings
The route information. This parameter is optional.
You can add a route when creating the route table or after the route table is created. For details, see Adding a Custom Route.
You can click + to add more routes.
-
- Click OK.
A message is displayed. You can determine whether to associate the route table with subnets immediately as prompted. If you want to associate immediately, perform the following operations:
- Click Associate Subnet. The route table details page is displayed.
- Click Associate Subnet and select the target subnets to be associated.
- Click OK.