Step 5: Add a Route

Scenarios

After the private NAT gateway is configured, you need to add a route pointing to the private NAT gateway in the service 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 route table list, click the name of the route table associated with the service VPC.
  6. Click Add Route and set parameters as prompted.
    Figure 1 Add Route
    Table 1 Parameter descriptions

    Parameter

    Description

    Destination

    The destination CIDR block.

    Set the value to the private CIDR block of the IDC.

    Next Hop Type

    Set Next Hop Type to NAT gateway.

    Next Hop

    Set Next Hop to the created private NAT gateway.

    Description

    Supplementary information about the route. This parameter is optional.

    The description can contain up to 255 characters but cannot contain angle brackets (< or >).

  7. Click OK.