Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
8.7 KiB
Modifying Routes Configured for a VPC Peering Connection
Scenarios
You can follow the instructions provided in this section to modify routes based on your requirements.
Modifying Routes of a VPC Peering Connection Between VPCs in the Same Account
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Virtual Private Cloud > VPC Peering Connections.
The VPC peering connection list is displayed.
- 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.
- Modify the route added to the route table of the local VPC:
- Click the Local Routes tab and then click the Route Tables hyperlink.
The Summary tab of the default route table for the local VPC is displayed.
- Locate the row that contains the route to be modified and click Modify in the Operation column.
The Modify Route dialog box is displayed.
- Modify the route and click OK.
- Click the Local Routes tab and then click the Route Tables hyperlink.
- Modify the route added to the route table of the peer VPC:
- Click the Peer Routes tab and then click the Route Tables hyperlink.
The Summary tab of the default route table for the peer VPC is displayed.
- Locate the row that contains the route to be modified and click Modify in the Operation column.
The Modify Route dialog box is displayed.
- Modify the route and click OK.
- Click the Peer Routes tab and then click the Route Tables hyperlink.
Modifying Routes of a VPC Peering Connection Between VPCs in Different Accounts
Only the account owner of a VPC can modify the routes added for the connection.
- Log in to the management console using the account of the local VPC and modify the route of the local VPC:
- Click
in the upper left corner and select the desired region and project. - Click
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Virtual Private Cloud > VPC Peering Connections.
The VPC peering connection list is displayed.
- 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.
- Modify the route added to the route table of the local VPC:
- Click the Local Routes tab and then click the Route Tables hyperlink.
The Summary tab of the default route table for the local VPC is displayed.
- Locate the row that contains the route to be modified and click Modify in the Operation column.
The Modify Route dialog box is displayed.
- Modify the route and click OK.
- Click the Local Routes tab and then click the Route Tables hyperlink.
- Click
- Log in to the management console using the account of the peer VPC and modify the route of the peer VPC by referring to 1.