Updated on 2026-04-16 GMT+08:00

Step 4: Create a Route Table

Scenarios

Each public NAT gateway needs a unique route table. You need to create a second route table for the VPC.

Prerequisites

There is sufficient route table quota in the VPC.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. In the upper left corner of the page, click to expand the service list and choose Networking > Virtual Private Cloud.
  4. In the navigation pane on the left, choose Route Tables.
  5. In the upper right corner, click Create Route Table. On the displayed page, configure required parameters.
    Table 1 Parameter descriptions

    Parameter

    Description

    Example Value

    Name

    (Mandatory) The name of the route table.

    Enter up to 64 characters. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed. Spaces are not allowed.

    rtb-001

    VPC

    (Mandatory) The VPC that the route table belongs to.

    vpc-001

    Description

    (Optional) Supplementary information about the route table.

    Enter up to 255 characters. Angle brackets (<>) are not allowed.

    N/A

    Route Settings

    Routes in the route table.

    You can add a route when creating the route table or add one later.

    You can click to add more routes.

    N/A

  6. Click OK.

    A message indicating that subnets can now be associated with the created route table is displayed. Perform the following steps to associate the other subnet of the VPC with the route table:

    1. Click Associate Subnet.

      The Associated Subnets tab is displayed.

    2. Click Associate Subnet and select the second subnet created in Step 1: Create a VPC and Two Subnets.
    3. Click OK.