-
-
Notifications
You must be signed in to change notification settings - Fork 739
-
-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird behavior on UE connectivity (-e trace enables/disables internet connectivity) #992
Comments
Please share with all conf/log files. And, please provide a PCAP by distinguishing between those that work and those that do not. It is important that PCAP captures any interface with all signaling packets.(NGAP, PFCP, HTTP2) Thank you so much! |
Hi @acetcom Please find attached your requirements:
For each experiment, the following is performed in this order:
With "./build/tests/app/app -c 5gcn-nsa-local.yaml -l install/var/log/open5gs/app_info.log":
With "./build/tests/app/app -e trace -c 5gcn-nsa-local.yaml -l install/var/log/open5gs/app_trace.log":
Filtered PCAPs are exported with the following filter: "ngap or pfcp or http2 or icmp" Thanks! |
It seems to be a configuration issue in 5gcn-nsa-local.yaml, not a trace issue. SGW-U and UPF GTP-U address is duplicated with 10.100.1.1. It seems that the execution order of NFs has changed according to the debug log level(info or trace). You should not use the same address for GTP-U address. Please change SGW-U GTP-U address or use the ./tests/app/5gc program. Good luck with you! |
Thank you, @acetcom. Using ./tests/app/5gc works correctly, as you mentioned. Probably enabling trace alters the execution order. I did not know I could not use the same ip for SWG-U and UPF GTP-U. Both share the same physical interface. I'll try a secondary ip. Thank you for you time and effort! |
Refer to #986 |
I updated to v2.2.8 and suddenly I lost the UE connectivity to internet. UE cannot ping PDN and CN cannot ping UE. Actually, when CN pings UE, the reply arrives to the CN via GTP, but it not processed by ogstun. See capture
I am scanning enp5s0f0, the physical interface connected to gNB and ogstun. As you can see, the replies arrive to CN, but not processed.
I followed the guidelines for iptables and so on and so forth, but without luck. But wait, the weird thing is that if I execute the "app" with "-e trace" parameter (lots of traces on screen), everything works properly. With "-e trace", CN can ping and get back the reply, UE can ping google and there is not any problem. I assume that enable the log trace should not affect on the UE connectivity, but it does, at least to me.
I cloned and compiled a new fresh v2.2.8 tag, and the behavior is still the same. So, at this point, my impression is not related to iptables or kernel stuff, but with Open5GS itself. Running the "app" program with "-e trace" is not a bad solution, at least if UEs have connectivity, but I guess it is not really what it should be expected.
I attach my configuration.
5gcn-nsa-local.yaml.txt
I also attach a capture where UE pings google
and CN pings UE
Of course I can provide any PCAP you may consider interesting.
Hope you can fix it!
The text was updated successfully, but these errors were encountered: