Updated on 2023-08-11 GMT+08:00

Step 4: Create a Route Table

Scenarios

Each public NAT gateway requires its unique route table. Create the second route table for the VPC.

Prerequisites

A route table can be created 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. Click Service List in the upper left corner. Under Networking, select 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 (< or >) are not allowed.

    N/A

    Route Settings

    Routes contained in the route table

    You can add a route when creating the route table or after the route table is created.

    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.