Updated on 2024-09-20 GMT+08:00

Creating a Custom Route Table

Scenarios

A VPC automatically comes with a default route table. If the default route table cannot meet your service requirements, you can create a custom route table and associate subnets with it to control traffic in and out of the subnets.

Notes and Constraints

By default, the quota for custom route tables is 0. To create custom route tables, apply for a quota increase first.

Procedure

  1. Go to the route table list page.
  2. 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

    (Mandatory) The name of the route table. The name:
    • Can contain 1 to 64 characters.
    • Can contain letters, digits, underscores (_), hyphens (-), and periods (.).

    rtb-001

    VPC

    (Mandatory) The VPC that the route table is used to control traffic routing. The route table can be associated with the subnets in this VPC.

    vpc-001

    Description

    (Optional) Supplementary information about the route table.

    The description can contain a maximum of 255 characters and cannot contain angle brackets (< or >).

    -

    Route Settings

    (Optional) The route information. You can add a route when creating the route table or after the route table is created. For details, see Adding Routes to a Route Table.

    You can click to add more routes.

    -

  3. Click OK.

    A message is displayed. You can determine whether to associate the route table with subnets immediately. If you want to associate immediately, perform the following operations:

    1. Click Associate Subnet. The Associated Subnets page is displayed.
    2. Click Associate Subnet and select the target subnets to be associated.
    3. Click OK.