All Products
Search
Document Center

:Cannot access the Eni bound to the ECS instance

Last Updated:Mar 31, 2022

Problem description

The Eni bound to the ECS instance cannot be accessed or cannot be pinged.

Causes

The system is configured with an SNAT entry.Ping 192.168.1.252The SNAT packet is converted to 192.168.1.251. The source address of the quintuple returned packet is incorrect, resulting in ping failure.

Note:

  • 192.168.1.251 is the IP address of the default network adapter.
  • 192.168.1.252 is the IP address of the Eni.
  • 192.168.1.2 is the IP address of the ECS instance used for testing.

Solution

  1. Check whether the two ECS instances are in the same VPC. If not, connect to the VPC.

    Note: You can use methods such as creating express connect to meet this requirement.

  2. Check whether the network types of the two ECS instances are the same. If not, enable the ClassLink function.
  3. Check whether the ECS Security group is connected.
  4. Check whether the system security policies block connections.
  5. Check the route table in the system to confirm that the route is correct.
  6. Check whether the NAT or other proxy services in the system are correctly configured.

Application scope

  • ECS