Updated on 2024-12-03 GMT+08:00

Step 4: Verifying Connectivity

Procedure

  1. Open the CLI of the client device.
  2. Run the following command to test connectivity:

    ping 192.168.1.10

    192.168.1.10 is the IP address of an ECS. Replace it with the actual IP address.

    To obtain the IP address of an ECS, perform the following operations:

    1. On the P2C VPN Gateways page, click the name of the VPC to which the target VPN gateway belongs.
    2. On the Summary tab page, click the number of created ECSs in the VPC Resources area.
    3. On the Elastic Cloud Server page, locate the target ECS, and view its private IP address in the IP Address column.
  3. If information similar to the following is displayed, the client can communicate with the ECS:
    Reply from xx.xx.xx.xx: bytes=32 time=28ms TTL=245
    Reply from xx.xx.xx.xx: bytes=32 time=28ms TTL=245
    Reply from xx.xx.xx.xx: bytes=32 time=28ms TTL=245
    Reply from xx.xx.xx.xx: bytes=32 time=27ms TTL=245