Viewing Routes Configured for a VPC Peering Connection

Scenarios

This section describes how to view the routes added to the route tables of local and peer VPCs of a VPC peering connection.

If two VPCs cannot communicate through a VPC peering connection, you can check the routes added for the local and peer VPCs by following the instructions provided in this section.

Viewing Routes of a VPC Peering Connection Between VPCs in the Same Account

  1. Log in to the management console.

  1. Click image1 in the upper left corner and select the desired region and project.

  2. Click image2 in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Virtual Private Cloud > VPC Peering Connections.

    The VPC peering connection list is displayed.

  4. In the VPC peering connection list, click the name of the target VPC peering connection.

    The page showing the VPC peering connection details is displayed.

  5. In the route list, view the route information.

    You can view the route destination, VPC, next hop, route table, and more.

    **Figure 1** View routes of a VPC peering connection between VPCs in the same account

    Figure 1 View routes of a VPC peering connection between VPCs in the same account

Viewing Routes of a VPC Peering Connection Between VPCs in Different Accounts

Only the account owner of a VPC in a VPC peering connection can view the routes added for the connection.

  1. Log in to the management console using the account of the local VPC and view the route of the local VPC:

    1. Click image3 in the upper left corner and select the desired region and project.

    2. Click image4 in the upper left corner and choose Network > Virtual Private Cloud.

      The Virtual Private Cloud page is displayed.

    3. In the navigation pane on the left, choose Virtual Private Cloud > VPC Peering Connections.

      The VPC peering connection list is displayed.

    4. In the VPC peering connection list, click the name of the target VPC peering connection.

      The page showing the VPC peering connection details is displayed.

    5. In the route list, view the route information.

      You can view the route destination, VPC, next hop, route table, and more.

      **Figure 2** View the local routes of a VPC peering connection between VPCs in different accounts

      Figure 2 View the local routes of a VPC peering connection between VPCs in different accounts

  2. Log in to the management console using the account of the peer VPC and view the route of the peer VPC by referring to 1.

    **Figure 3** View the peer routes of a VPC peering connection between VPCs in different accounts

    Figure 3 View the peer routes of a VPC peering connection between VPCs in different accounts