Help Center> Virtual Private Network> FAQ> Networking and Application Scenarios> How Do I Enable Communication Among Two VPCs and an IDC Network?

How Do I Enable Communication Among Two VPCs and an IDC Network?

Network Topology

IDC-VPC 1-VPC 2

IDC indicates the on-premises data center. A VPN connection is established between VPC 1 and the IDC.

Procedure

  1. Check whether the two VPCs are in the same region.
    • If the two VPCs are in the same region, use a VPC peering or Cloud Connect connection (free of charge) to connect them.
    • If the two VPCs are in different regions, use a Cloud Connect connection (you need to pay for the bandwidth fee).
  2. Establish a VPN connection between the IDC and a VPC. Change the remote subnet of the IDC to the subnets of VPC 1 and VPC 2. The local subnet of VPC 1 must contain the subnet connected through a VPC peering or Cloud Connect connection. The subnet route of the VPC peering or Cloud Connect connection should destine for the IDC subnet.