Updated on 2024-01-16 GMT+08:00

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

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

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