Log in to Tencent Cloud Console and choose Products > Networking > Virtual Private Cloud to access the Virtual Private Cloud (VPC) console.
In the left sidebar, click Subnet to go to the management page.
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.
Click + New routing policies.
Enter the peer CIDR block (
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.
Click OK. After the route table is configured, communication is enabled between the IP ranges of the two VPCs.
The peer route table is configured in the same way as that at the local end.
- You must configure routes at both ends before you can communicate via the peering connection.
- To enable communication between multiple IP ranges of the two VPCs at both ends, you simply need to add the corresponding route table entries, but not create multiple peering connections.