Verifying Connectivity Between the On-premises Data Center and VPCs
Scenarios
This section describes how to log in to ECSs and verify the connectivity between VPCs.
Procedure
- Log in to the ECS.
Multiple methods are available for logging in to an ECS. For details, see Logging In to an ECS.
In this example, use VNC provided on the management console to log in to an ECS.
- Verify the network connectivity.
- Verify the network connectivity between VPCs.
To verify the network connectivity between vpc-demo-01 and vpc-demo-02, log in to ecs-demo-01 and run the following command:
ping 172.16.1.137
If information similar to the following is displayed, the two VPCs can communicate with each other.
- Verify the network connectivity between a VPC and the Direct Connect connection.
ping IP address of the local gateway (Huawei Cloud)
ping IP address of the remote gateway (on-premises)
ping IP address (on-premises)
To verify the network connectivity between vpc-demo-01 and the local gateway on Huawei Cloud, log in to ecs-demo-01 and run the following command:
ping 10.0.0.1
If information similar to the following is displayed, the network between the VPC and the local gateway on Huawei Cloud is connected.
- Verify the network connectivity between VPCs.
- Repeat 1 to 2 to verify the network connectivity between the other VPC and the Direct Connect connection.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.