Network and Resource Planning
- Network Planning: Plan the central network, VPCs and their subnets, VPC route tables, and enterprise router route tables.
- Resource Planning: Plan the quantity, names, and other parameters of the central network, VPCs, ECSs, and enterprise routers.
Network Planning
Figure 1 shows the network planning for communications among VPCs across regions.
In this example, one VPC is created and attached to an enterprise router in each region. Make the plan based on your service requirements.
Path |
Description |
---|---|
Request traffic: from VPC-A to VPC-B |
|
Response traffic: from VPC-B to VPC-A |
|
Resource |
Description |
---|---|
VPCs |
|
Central Network |
|
Enterprise routers |
The network configuration for the enterprise router in the three regions is the same. Table 4 lists all routes required by the enterprise router. When a central network is set up to connect the enterprise routers, you must enable Default Route Table Association and Default Route Table Propagation for the enterprise routers. In this way, when an instance is added to an enterprise router, a route pointing to attachment will be automatically added for the enterprise router. |
ECSs |
An ECS is created in each VPC. If the ECSs are in different security groups, add rules to the security groups to allow access to each other. |
Destination |
Next Hop |
Route Type |
---|---|---|
10.0.0.0/8 |
Enterprise router |
Static route (custom) |
172.16.0.0/12 |
Enterprise Router |
Static route (custom) |
192.168.0.0/16 |
Enterprise Router |
Static route (custom) |
- If you enable Auto Add Routes when creating a VPC attachment, you do not need to manually add static routes to the VPC route table. Instead, the system automatically adds routes (with this enterprise router as the next hop and 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 as the destinations) to all route tables of the VPC.
- If an existing route in the VPC route tables has a destination to 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16, the routes will fail to be added. In this case, do not enable Auto Add Routes. After the attachment is created, manually add routes.
- Do not set the destination of a route (with an enterprise router as the next hop) to 0.0.0.0/0 in the VPC route table. If an ECS in the VPC has an EIP bound, the VPC route table will have a policy-based route with 0.0.0.0/0 as the destination, which has a higher priority than the route with the enterprise router as the next hop. In this case, traffic is forwarded to the EIP and cannot reach the enterprise router.
Enterprise Router |
Destination |
Next Hop |
Route Type |
---|---|---|---|
Region A: ER-A |
VPC-A CIDR block: 172.16.0.0/16 |
VPC attachment: er-attach-VPC-A |
Propagated |
VPC-B CIDR block: 192.168.0.0/16 |
Peering connection attachment: region-A-region-B |
Propagated |
|
VPC-C CIDR block: 10.0.0.0/16 |
Peering connection attachment: region-A-region-C |
Propagated |
|
Region B: ER-B |
VPC-B CIDR block: 192.168.0.0/16 |
VPC-B attachment: er-attach-VPC-B |
Propagated |
VPC-A CIDR block: 172.16.0.0/16 |
Peering connection attachment: region-B-region-A |
Propagated |
|
VPC-C CIDR block: 10.0.0.0/16 |
Peering connection attachment: region-B-region-C |
Propagated |
|
Region C: ER-C |
VPC-C CIDR block: 10.0.0.0/16 |
VPC-C attachment: er-attach-VPC-C |
Propagated |
VPC-A CIDR block: 172.16.0.0/16 |
Peering connection attachment: region-C-region-A |
Propagated |
|
VPC-B CIDR block: 192.168.0.0/16 |
Peering connection attachment: region-C-region-B |
Propagated |
Resource Planning
The following resource planning is only for your reference.
Resource |
Quantity |
Description |
---|---|---|
VPC |
3 |
A service VPC is required in each region for running workloads.
|
Enterprise router |
3 |
An enterprise router is required in each region. The VPC in each region is attached to the corresponding enterprise router, and a peering connection attachment is created between every two enterprise routers.
NOTICE:
When a central network is set up to connect the enterprise routers, you must enable Default Route Table Association and Default Route Table Propagation for the enterprise routers. |
Central network |
1 |
A central network is required, with all enterprise routers are added to it as attachments.
|
Global connection bandwidth |
3 |
In this example, you need to purchase three global connection bandwidths to connect the cloud backbone networks in different regions.
|
ECS |
3 |
Create an ECS in each VPC to verify network connectivity.
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot