Help Center> Virtual Private Network> FAQs> Classic VPN> Networking and Application Scenarios> How Do I Enable Communications Between Two VPCs and an On-premises Network?
Updated on 2023-08-01 GMT+08:00

How Do I Enable Communications Between Two VPCs and an On-premises 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 on-premises and a VPC. In the on-premises data center, set the remote subnet 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 on-premises subnet.

Networking and Application Scenarios FAQs

more