Updated on 2024-07-23 GMT+08:00

Creating VPC Attachments for the Enterprise Router

Scenarios

This section describes how to attach VPCs to the enterprise router and configure routes for the VPCs and enterprise router.

Procedure

  1. Attach the four VPCs to the enterprise router.

    For details, see Creating VPC Attachments for the Enterprise Router.

    Default Route Table Association and Default Route Table Propagation are enabled when you create the enterprise router. After VPCs are attached to the enterprise router, Enterprise Router will automatically:
    • Associate the VPC attachments with the default route table of the enterprise router.
    • Propagate the VPC attachments to the default route table of the enterprise router. The route table automatically learns the VPC CIDR blocks as the destination of routes.

  2. In the enterprise router route table, add a static route with the next hop set to the VPC 4 attachment and destination to 0.0.0.0/0 for accessing the Internet through VPC 4.

    For details, see Creating a Static Route.

    After the static route with the next hop set to VPC 4 is created, you can delete the propagated route. For details, see Deleting a Propagation.

  3. Add routes to VPC route tables for traffic to route through the enterprise router.

    For details, see Adding Routes to VPC Route Tables.

    • For route details, see Table 3.
    • For VPC 4 route details, see Table 4.