Updated on 2024-03-05 GMT+08:00

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.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  2. In the navigation pane on the left, choose Virtual Private Cloud > Route Tables.
  3. 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.

    -

  4. 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:

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