Step 4: Create a Route Table

Scenarios

Each NAT gateway requires its unique route table. You need to 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. On the console homepage, under Network, click 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 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 include up to 64 characters and can include 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 up to 255 characters but cannot contain angle brackets (< or >).

    -

    Route Settings

    Supplementary information about the route. This parameter is optional.

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

    You can click + to add more routes.

    -

  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 second subnet with the route table:

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