Configuring the Route to Peering Connection

Last Updated At: 2025-10-21 09:10:00

  1. Log in to Cloud Console, select Cloud Products > Cloud Computing & Networking > Virtual Private Cloud to enter the VPC console.

  2. Click Subnet in the left sidebar to enter the Management page.

  3. Click the ID of the route table (route table A) associated with the local subnet (subnet A) of the peering connection to access the route table details page.

  4. Click +Add Routing Policy.


5. Enter the peer CIDR (10.0.1.0/24) for the destination, select Peering Connections for the Next Hop Type, and select the created peering connection (PeerConn) for the Next Hop.


6. Click Create. After the routing table is configured, communication is enabled between the IP ranges of the two VPCs. The peer routing table is configured in the same way as that at the local end.

Note:

  • It is essential to configure the relevant routes on both this end and the peer end to enable communication via PC.
  • Between two VPCs, to enable communication between multiple IP ranges of this end and multiple IP ranges of the peer end, you only need to add corresponding route table items, without the need to establish multiple PCs.