-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
How to ping google using UERANSIM? #160
Comments
Hi, this feature is currently in progress and will be completed soon. |
@zyc1gq This feature is now complete. After successful establishment of PDU Session, UE automatically sends ping request to www.google.com. see testing.yaml for more details. |
Wow,Real good news, I can't wait to test it out |
@aligungr @zyc1gq I am trying to achieve the same thing but using free5gc and am having some difficulties. I am able to get a PDU session established but then get the following errors in UERANSIM immediately after:
It should be noted that I am also getting the following errors in free5gc:
I have a feeling it may be my configuration but I am not exactly sure. I am using the following instructions and configurations from my project here. Any help on getting a basic application running would be greatly appreciated. |
@BraedenDiaz I strongly suspect that there is a bug on free5gc side regarding NGAP decoding. Could you post a pcap file related to this error? |
Sure thing, here you go: I did also see some open issues with the AMF decoding on their issues page but I figured some people got it working, so I didn't know if I was doing anything wrong. |
@BraedenDiaz I think I need the logs files as well for detailed analysis. Please send them also, if you can. (Located at |
Apparently AMF does not send "Pdu Session Resource Setup Request" , but it sends "Dl Nas Transport" containing PduSessionEstablishmentAccept. But PduSessionEstablishmentAccept should be sent in "Pdu Session Resource Setup Request". I think this is not the desired behavior. In this way gNB cannot know a PDU session has been established. Maybe it's good to create an issue on free5gc side, so that they can discuss and possibly fix the issue. Thanks. |
Hey @aligungr, I decided to add to this issue since I'm having the same problem, getting a PDU session established (and recognized by the gNB) but not being able to ping google afterwards. However, I'm using open5gs, not free5gc, so I don't think the bug Braeden mentioned applies. In my case I get this this error from the gnb log, which seemed similar to something Braeden posted: My gnb log:
My ue log:
gNB config:
And finally UE config:
|
Hi @ryanwwest I'll ask you if you can provide a PCAP file, and please UE and gNB log files again in the matter of this PCAP file. -- By the way for the SCTP issue you mentioned: Usually there is no SCTP message after a PDU session establishment, and it is normal. There is no problem if you can see the other SCTP messaging in the beginning (before the PDU session establishment) However if you are unable to see any SCTP packet (even when gNB works and UE registers to the network) then we should suspect some other errors, but please confirm this case. Regards |
Thanks for your help @aligungr and sorry for the delay. Here's a zip of the logs, configs, and pcap file (plus another standalone pcap file with -vv flag on tcpdump—I wasn't sure what would be helpful): ueransim-debugging.zip. You can maybe tell from the logs that I first start nr-gnb, then nr-ue, then run Where the 74.213.193.65 is google.com, and 10.45.0.4 is (I think) the IP address assigned by the Open5GS UPF function after the PDU session is established. I'm very fuzzy on how this random IP address 10.45.0.4 can just be assumed at the UPF (that was a default IP address) so perhaps that could be part of the problem. I'm looking through the PCAP files myself to try to understand them but don't yet have a better idea than this. There is SCTP packet data transfer and acks between the two hosts (10.10.1.1 for UERANSIM and 10.10.1.2 for Open5GS) for setting up gnb and UE so that part seems good. |
For the GTP packets, both source and destinations refer to the same address ( Probably UPF IP address is misconfigured in Open5GS side. Please change GTP-U IP address value from |
@aligungr Thank you for pointing this out, I had not noticed it. The issue did turn out to be open5gs configuration. Thanks for the help! |
Hi Ali, thanks/subha |
Now , I can establish PDU session with free5gc by UERANSIM. So, how to ping IPs like www.google.com use UERANSIM?
The text was updated successfully, but these errors were encountered: