Step 3: Check Whether the Default Route Exists

Scenarios

After the gateway is created, go to the route table list and check whether the default route with the next top set to the public NAT gateway exists in the default route table.

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 route table list, click the name of the default route table.
  6. Go to the route table details page and check whether the default route with the next top type of NAT gateway exists.
    Figure 1 Route table

    When the first public NAT gateway in a VPC is created, the default route (0.0.0.0/0) is automatically created in the default route table. If the default route already exists in the VPC, you need to add a route and set the next hop of the route to the created NAT gateway.