Skip to content
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

SMF Crash while run UERANSIM UE module #2

Open
ishanshahnio opened this issue Oct 5, 2022 · 7 comments
Open

SMF Crash while run UERANSIM UE module #2

ishanshahnio opened this issue Oct 5, 2022 · 7 comments

Comments

@ishanshahnio
Copy link

Hi @s5uishida,

first of all your GitHub repository is very informative and i want to achieve this scenario with ULCL.

I have separate virtual machines for UERANSIM, I-UPF, PSAUPF1 and Free5gc.

I start I-UPF, PSAUPF1, Free5gc and last I ran Gnb and UE device.

once I start UE, first session established and later SMF crashed on free5gc machine. could you please help me to solve this error.

image

@ishanshahnio
Copy link
Author

Hi I am using latest version of free5gc and UERANSIM on every machine and to resolve this issue, i also flush mongo database and restart all network functions but no luck :-(

@s5uishida
Copy link
Owner

Hi @ishanshahnio

I updated my environment with latest free5GC and tried it, and I was able to ping as expected without SMF crashing.
In addition, as I wrote in the repository, I changed from v3.2.1 to the main branch and built it.

Also, nrfcfg.yaml required the following changes:

nrfcfg.yaml:  version: 1.0.1 --> 1.0.2

According to the error log, SMF seems to be accessing an illegal memory address, but I don't know why.

@ishanshahnio
Copy link
Author

Hi @s5uishida

Thanks for Reply. I will check and let you know.

Just for curiosity, did you get a chance to work on multiUPF that total 3 UPF (Anchor UPF, UPF-1 and UPF-2) that default path is Anchor UPF -> UPF1 and traffic influence (Npcf) divert data path from UPF1 to UPF2 and final path will be Anchor UPF -> UPF2.

@ishanshahnio
Copy link
Author

Hi @s5uishida, Issue resolved.

Issue was SBA interface binding in UPF. I used localhost IP Addresses scheme in UPF, so SMF not create N4 pfcp session binding.

@ishanshahnio
Copy link
Author

Hi @s5uishida,

Your GitHub repository is very informative, useful and learning for implementation of 5G core.

I want to achieve one scenario that 2 UPF are connected to branching UPF. Scenario is as below:

  1. default user session data path is UE -> gnb -> IUPF -> UPF1 -> DN.
  2. When request comes from user that to connect some gaming application server which is connected to UPF2.
  3. Npcf_policyauthorization_request is create traffic influence service.
  4. Post data path of the user session be like is UE -> gnb -> IUPF -> UPF2 -> Application server DN.

I much appreciate if you achieved above scenario in your lab using free5gc or any other freeware and opensource 5GC.

@s5uishida
Copy link
Owner

Hi @ishanshahnio

I wrote another ULCL configuration example as follows.

https://github.com/s5uishida/free5gc_ueransim_ulcl_2_sample_config

Also, I'm not using Npcf_policyauthorization.

@ishanshahnio
Copy link
Author

Thanks @s5uishida, let me try this scenario in my local lab and will update you on this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants