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

Verifying Network Connectivity and Traffic Scrubbing

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

    1. The command is in the following format:

      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 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 in 2.a 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-demo-02 and verify whether the traffic from vpc-demo-02 to vpc-demo-01 flows through ecs-inspection.