Updated on 2024-10-25 GMT+08:00

Verifying Connectivity Between the On-premises Data Center and VPCs

  1. Log in to an 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 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.

    2. 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 used in the on-premises data center

      To verify the network connectivity between vpc-demo-01 and the local gateway, 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.

  3. Repeat 1 to 2 to verify the network connectivity between the other VPC and the Direct Connect connection.