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
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - On the console homepage, under Network, click Virtual Private Cloud.
- In the navigation pane on the left, choose Route Tables.
- In the route table list, click the name of the route table associated with the service VPC.
- 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 >).
- Click OK.
Last Article: Step 4: Add an SNAT Rule
Next Article: Step 6: Add a Security Group Rule
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.