Fail to connect to internet using Ping command

Hello everyone :grinning:,

I tried to construct a MEC enabled scenario based on Environment setup of multiple SMF, DNN, and UPF (including ULCL) video.

I followed every steps and connected to internet successfully with original topology.
However, when I try to divide UERANSIM VM into two VMs (one is for UE and the other one is for gNB), I cannot connect to internet (using ping command)

Here is my network topology


There’re 7 VMs:

  1. UE
  2. gNB
  3. free5gc
  4. i-UPF
  5. PSA-UPF1
  6. PSA-UPF2
  7. MEC

And I tried 2 UEs with different DN:

  • UE1 (UE1 → gNB → I-UPF → PSA-UP2 → DNN:internet): failed
  • UE2 (UE2 → gNB → PSA-UP1 → DNN:IMS): succeed

By using tcpdump command, I observed that when UE1 tries to ping 8.8.8.8 , the request can send to destination properly, but the ICMP reply stops at gNB, therefore ping failed to UE1.

I don’t know how to solve this problem, I very appreciate it if anyone could help me.

The detail configuration of each VM, experiment result is here, thanks a lot. :smiling_face_with_three_hearts:

The reason why UE cannot receive reply have something to do with ARP.
After setting all interface in the same LAN, the problem is fix.