Configuring the Route to Peering Connection

Last Updated At: 2026-08-14 08:08: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:

    • You must configure routes on both sides to implement communication over a peering connection.
    • Between two VPCs, communication between multiple local IP ranges and multiple peer IP ranges only requires adding corresponding route table entries and does not require establishing multiple peering connections.