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

Verifying Network Connectivity and Traffic Scrubbing

  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 between VPCs.

    1. To verify the network connectivity between vpc-demo-01 and vpc-demo-02, log in to ECS 1 (ecs-demo-01) and run the following command:

      ping IP address of ECS 2 (ecs-demo-02)

      Example command:

      ping 10.2.0.175

      If information similar to the following is displayed, the two VPCs can communicate with each other.

    2. Keep the network connectivity between vpc-demo-01 and vpc-demo-02 and log in to ecs-inspection to verify whether the traffic from vpc-demo-01 to vpc-demo-02 flows through ecs-inspection.
      1. Run the following command at least twice consecutively to check whether the value of RX packets increases:

        ifconfig eth0

      1. Run the following command at least twice consecutively to check whether the value of TX packets increases:

        ifconfig eth1

      If the values increase, the traffic flows through ecs-inspection:

  3. Repeat 1 to 2 to log in to ECS 2 (ecs-demo-02) and verify whether the traffic from vpc-demo-02 to vpc-demo-01 flows through ecs-inspection.