@@ -274,6 +274,49 @@ You should find a virtual interface (demo-oai) (as shown in figure below). This
> sudo ip netns exec oai-ue1 iptables -P FORWARD ACCEPT
**Step 11:** Configure the IMSI, Permanent Key and OPC
This part you will configure the UE parameters. The UE parameters file is /home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf. The first three lines of the file are composed by the IMSI, Permanent Key and OPC, as shown in figure below. You will configure these parameters.
You need to check in the docker-compose file (/home/dco1020/oai-cn5g-fed/docker-compose/database/oai_db2.sql) which SQL file the core is using. See figure below.
Verify/change the parameters in UE file (/home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf) according to the SQL file illustrated in figure below. The parameters are:
Or use a SQLLite database visualizer like DB Browser (to install: sudo apt install sqlitebrowser -y).
The last three lines of the file are composed of DNN (Data Network Name), N-SSAI SST (Network Slice Selection Assistance Information Slice/Service Type), N-SSAI SD (Network Slice Selection Assistance Information Slice/Service Type). To configure these parameters you will explore the docker-compose file (/home/dco1020/oai-cn5g-fed/docker-compose/docker-compose-basic-nrf.yaml), shown in figure below.
The UE parameters (figure below) must be equal to the OAI SMF parameters in the docker-compose file, as illustrated in the figure below.
- "DNN_NI0" refers to "dnn"
- "NSSAI_SST0" refers to "nssai_sst"
- "NSSAI_SD0" refers to "nssai_sd" (the "NSSAI_SD0" parameter is in hexadecimal, but in the "nssai_sd" parameter you have to use decimal values)
**Note:** In this version of the tutorial, the network slice is limited a just one slice (DNN=oai), because we do not use the NSSF (Network Slice Selection Function).