Updated on 2024-04-19 GMT+08:00

Verifying Network Connectivity

Scenarios

This section describes how to log in to ECSs and verify the connectivity between VPCs.

Procedure

  1. 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.

  2. Verify the network connectivity.

    1. Verify the network connectivity between VPCs.

      ping IP address of the ECS

      To verify whether vpc-business-01 can communicate with vpc-business-02 and vpc-business-03, log in to ecs-business-01 and run the following commands:

      ping 10.2.0.215

      ping 10.3.0.14

      If information similar to the following is displayed, vpc-business-01 can communicate with vpc-business-02 and vpc-business-03.

    2. Verify whether a VPC can access the Internet.

      ping public IP address or domain name

      To verify that the vpc-business-01 can communicate with the Internet, log in to ecs-isolation-01 and run the following command:

      ping support.huaweicloud.com

      If information similar to the following is displayed, vpc-business-01 can communicate with the Internet.

  3. Repeat 1 to 2 to verify the network connectivity of other VPCs.