UERANSIM
UERANSIM copied to clipboard
The AMF undefined response type and cannot ping timeot
Dear Sir, I'm sorry to bother you
I want to use a case of Free5gc ULCL scenario to complete my experiments related to the migration of 5G MEC containers.
However, my experiment encountered the following two problems, I spent a long time trying many methods that couldn't be solved, and I want to seek your help.
My experimental framework is as follows:
When the uerouting file is this, i encounter new problems of CPF.
[ERRO][SMF][GIN] panic: runtime error: invalid memory address or nil pointer dereference
[ERRO][AMF][NGAP][192.168.88.141:37721][AMF_UE_NGAP_ID:1] SendUpdateSmContextN2Info[PDUSessionResourceSetupResponseTransfer] Error: undefined response type
However, when the uerouting file is this, The PDU sesseion is created successfully, but still not able to ping docker1 or google.com
I tried the following four points you suggested in https://github.com/aligungr/UERANSIM/issues/226, but they still haven't been resolved
1.Use UERANSIM and Open5GS in two different fresh virtual machines. 2.Double check configurations for both UERANSIM and Open5GS 3.Run sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" to enable IP forwarding (on Open5G's machine) 4.Run this command: https://github.com/aligungr/UERANSIM/issues/191#issuecomment-733550823 (on Open5G's machine)
and I have tried the following command in Free5gc CFP but not work
sudo sysctl -w net.ipv4.ip_forward=1 sudo iptables -I INPUT --source 10.60.0.0/16 -j ACCEPT sudo iptables -t nat -I POSTROUTING --out-interface ens33 -j MASQUERADE sudo iptables -I FORWARD --in-interface ens33 --out-interface upfgtp -j ACCEPT sudo iptables -I FORWARD --in-interface upfgtp --out-interface ens33 -j ACCEPT
These problems have troubled me for a long time, so I'm sorry to disturb you . I'm looking forward to your reply. Here are my pcap and config files. Thank you very much! Free5gc-ulcl config.zip pcap file.zip free5gc-ulcl.detail log.docx
Hi, @Hebert007306, now I am working with the same ULCL in free5gc, and I have the same problem. Could you solve it? I would appreciate it if you could provide me with information.