How Enterprise Routers Work
You can attach your network connections to an enterprise router to quickly construct diversified networks and meet various service requirements. Figure 1 shows the process of using an enterprise router, including creating an enterprise router, adding attachments to the enterprise router, and configure routes.
- VPC attachment: Attach a VPC from the same region as that of an enterprise router.
- Virtual gateway attachment: Attach a Direct Connect virtual gateway from the same region as that of an enterprise router.
- VPN gateway attachment: Attach a VPN gateway from the same region as that of an enterprise router.
- Global DC gateway attachment: Attach a Direct Connect global DC gateway in the same region.
No. |
Route |
Description |
---|---|---|
1 |
Request path: from VPC1 to the global DC gateway |
After receiving requests from VPC 1 to the global DC gateway, enterprise router 1 searches the default route table for the route to the global DC gateway and forwards the requests through this route. |
Response path: from global DC gateway to VPC1 |
After receiving responses from the global DC gateway to VPC 1, enterprise router 1 searches the default route table for the route to VPC 1 and forwards the responses through this route. |
|
2 |
Request path: from VPC2 to the global DC gateway |
Enterprise router 1 cannot forward requests from VPC 2 to the global DC gateway because the custom route table of enterprise router 1 that is associated with VPC 2 does not contain the route to this global DC gateway. |
No. |
Action |
Description |
---|---|---|
1 |
Add attachments to the enterprise router. |
Attach network instances to enterprise router 1 in region A.
|
2 |
Associate the attachments with the route tables of the enterprise router. Each attachment can only be associated with one route table. |
|
3 |
Create propagation for the attachments to propagate the routes to the enterprise router's route tables. You can create multiple propagation records for the same attachment. |
Attachments
If you want to attach a network instance to an enterprise router, you need to add an attachment of a specific type to the enterprise router. The attachment type varies by type of the network instance, as listed in Table 3.
Route Tables
Route tables are used by enterprise routers to forward packets. Route tables contain associations, propagations, and routes. Route tables are classified into custom and default route tables, as detailed in Table 4.
Route Table Type |
Description |
---|---|
Custom route table |
You can create multiple custom route tables on an enterprise router and use different routes for flexible communication and isolation between network instances. |
Default route table |
If you enable Default Route Table Association and Default Route Table Propagation, the system then automatically associates and propagates new attachments with the default route table. You can specify a custom route table as the default route table. If you do not specify any route table as the default route table, the system automatically creates a default route table. |
Associations
- Packet forwarding: Packets from the attachment are forwarded through the routes specified in the associated route table.
- Route propagation: The routes in the associated route tables are automatically propagated to the route table of the attachment.
Route Propagation
You can create a propagation for each attachment to propagate routes to one or more route tables on an enterprise router.
Routes
Routes are used to forward packets. A route contains information such as the destination, next hop, and route type. Table 7 describes the routes of different types.
Route Type |
Description |
Attachment |
---|---|---|
Propagated routes |
Propagated routes are automatically learned through propagation and cannot be modified or deleted. |
|
Static routes |
Static routes are manually created and can be modified or deleted. |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.