Error while running ueransim

[ERRO][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-208930000000003] Select SMF failed: DNN[internet] is not supported or not subscribed in the slice[Snssai: {Sst:1 Sd:010203}]

Hello,

Please share your smfcfg.yaml file, this is most probably related to the SMF configuration file issue due to which this DNN is not subscribed with NRF and hence this error.

Regards,

shared the smfcfg file content. Please have a look

this is the content of smf file
info:
version: 1.0.2
description: SMF initial local configuration

configuration:
smfName: SMF # the name of this SMF
sbi: # Service-based interface information
scheme: http # the protocol for sbi (http or https)
registerIPv4: 127.0.0.2 # IP used to register to NRF
bindingIPv4: 127.0.0.2 # IP used to bind the service
port: 8000 # Port used to bind the service
tls: # the local path of TLS key
key: config/TLS/smf.key # SMF TLS Certificate
pem: config/TLS/smf.pem # SMF TLS Private key
serviceNameList: # the SBI services provided by this SMF, refer to TS 29.502
- nsmf-pdusession # Nsmf_PDUSession service
- nsmf-event-exposure # Nsmf_EventExposure service
- nsmf-oam # OAM service
snssaiInfos: # the S-NSSAI (Single Network Slice Selection Assistance Information) list supported by this AMF
- sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
sst: 1 # Slice/Service Type (uinteger, range: 0~255)
sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
dnnInfos: # DNN information list
- dnn: internet # Data Network Name
dns: # the IP address of DNS
ipv4: 8.8.8.8
- sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
sst: 1 # Slice/Service Type (uinteger, range: 0~255)
sd: 112233 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
dnnInfos: # DNN information list
- dnn: internet # Data Network Name
dns: # the IP address of DNS
ipv4: 8.8.8.8
plmnList: # the list of PLMN IDs that this SMF belongs to (optional, remove this key when unnecessary)

  • mcc: “208” # Mobile Country Code (3 digits string, digit: 0~9)
    mnc: “93” # Mobile Network Code (2 or 3 digits string, digit: 0~9)
    locality: area1 # Name of the location where a set of AMF, SMF and UPFs are located
    pfcp: # the IP address of N4 interface on this SMF (PFCP)
    addr: 127.0.0.1
    userplaneInformation: # list of userplane information
    upNodes: # information of userplane node (AN or UPF)
    gNB1: # the name of the node
    type: AN # the type of the node (AN or UPF)
    UPF: # the name of the node
    type: UPF # the type of the node (AN or UPF)
    nodeID: 127.0.0.8 # the IP/FQDN of N4 interface on this UPF (PFCP)
    sNssaiUpfInfos: # S-NSSAI information list for this UPF
    - sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
    sst: 1 # Slice/Service Type (uinteger, range: 0~255)
    sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    dnnUpfInfoList: # DNN information list for this S-NSSAI
    - dnn: internet
    pools:
    - cidr: 10.60.0.0/16
    - sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
    sst: 1 # Slice/Service Type (uinteger, range: 0~255)
    sd: 112233 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    dnnUpfInfoList: # DNN information list for this S-NSSAI
    - dnn: internet
    pools:
    - cidr: 10.61.0.0/16
    - cidr: 10.61.0.0/16
    interfaces: # Interface list for this UPF
    - interfaceType: N3 # the type of the interface (N3 or N9)
    endpoints: # the IP address of this N3/N9 interface on this UPF
    - 192.168.56.101 # 127.0.0.8
    networkInstance: internet # Data Network Name (DNN)
    links: # the topology graph of userplane, A and B represent the two nodes of each link

the kind of log output

debugLevel: how detailed to output, value: trace, debug, info, warn, error, fatal, panic

ReportCaller: enable the caller report or not, value: true or false

logger:
SMF:
debugLevel: info
ReportCaller: false
NAS:
debugLevel: info
ReportCaller: false
NGAP:
debugLevel: info
ReportCaller: false
Aper:
debugLevel: info
ReportCaller: false
PFCP:
debugLevel: info
ReportCaller: false

Hello,

Could you please remove the below data for other snssai and check this issue again.

  • sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
    sst: 1 # Slice/Service Type (uinteger, range: 0~255)
    sd: 112233 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    dnnInfos: # DNN information list
  • dnn: internet # Data Network Name
    dns: # the IP address of DNS
    ipv4: 8.8.8.8

Please take the pcap between smf and nrf.

regards,
Mohit

Hi Mohit
I have tried using your suggestion but unable to do it. Still its giving same error. Can we connect whenever you have free time to resolve it. I will be really helpfull for me.
Thanks and regards
VIRENDRA
NITK, Karnataka

Hi @virendra,
You can run the free5GC installation guide which is a newer version on the official website. It has been tested.
I believe your problem stems from that you cloned a older version of free5GC and UERANSIM.
If you have any further questions, please feel free to ask.
https://free5gc.org/guide/#information

Daniel,
BRs.

so should I remove everything and install again ?

Yes, please create another virtual machine for it.

Hi, @danielh1204
I am going to install again as you said so currently i am using ubuntu live server as machine in vmbox so should i continue using that or should i use something else

because in that i am unable to access files directly to copy or download file. and also unable to use other software for packet capturing

  1. You can use putty to ssh to your vm to do copy paste.


    Type your vm’s host-only-adaptor IP address at the host name and click Open.

  2. Do you mean downloading files from the vm to your host or, from the internet to the vm?

  3. What other software are you refering to for packet capturing?

2 ) I meant downloading file from vm to local system to share someone if needed.

  1. i was trying to use wireshark
  1. I believe you can set up shared folders in VM with virtualbox manager even in cli, but I haven’t personally tested yet. However, I think the easiest way is just to create a git repo.
  2. Wireshark provides a tool called tshark for cli. It provides similar functions as wireshark. You can refer to their offcial documentations for details.
  3. I will test if there are ubuntu desktop versions that are compatible with free5GC. I will get back to you asap.

Thanks for the help. Do you have any link where i can find how to do using git repo.

You can refer to this website.

This shows how to create a repository and upload files to it with cli.
After that, you can download it to your local system.

Thanks a lot.It will be really helpfull

HI @danielh1204 I have tried installing freshly but getting some new errors. please look into it .
error.docx (13.4 KB)

Hi,
please type the following commands on free5gc vm

$ cd ~/free5gc/NFs/upf
$ go mod tidy
$ cd ~/free5gc
$ ./force_kill.sh
$ ./run.sh

After this, please restart gnb and UE.

@danielh1204 still not working. can we connect over zoom or google meet please whenever you have free time.