Step 6: Add the Default Route
Scenarios
If a VPC already has one or more NAT gateways, a route table must be created for the second public NAT gateway. You need to add a route destined for 0.0.0.0/0 and set the next hop to the second public NAT gateway to the new route table.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - In the upper left corner of the page, click
to expand the service list and choose Networking > 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 to which you want to add a route.
- Click Add Route and configure required parameters.
You can click
to add more routes.Table 1 Parameter descriptions Parameter
Description
Example Value
Destination Type
Mandatory.
The destination type can only be IP address. You can set an IP address or CIDR block.
IP address
Destination
The destination CIDR block.
The destination of each route must be unique. The destination cannot overlap with any subnet CIDR block in the VPC.
0.0.0.0/0
Next Hop Type
Type of the next hop.
NAT gateway
Next Hop
The next hop. The resources in the drop-down list are displayed based on the selected next hop type.
N/A
Description
(Optional) Supplementary information about the route.
Enter up to 255 characters. Angle brackets (<>) are not allowed.
N/A
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.