Step 6: Add the Default Route
Scenarios
If the VPC already has one or more NAT gateways configured, a route table must be created for the second public NAT gateway. You need to add the default route (0.0.0.0/0) with the next hop set to the second public NAT gateway in the new route table you have created.
Procedure
- Log in to the management console.
- Click in the upper left corner and select the desired region and project.
- Click Service List in the upper left corner. Under Networking, select 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
The destination CIDR block
The destination of each route must be unique. The destination cannot overlap with any subnet in the VPC.
0.0.0.0/0
Next Hop Type
Type of the next hop
NAT gateway
Next Hop
Set the next hop. The resources in the drop-down list box 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 (< or >) 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.