---
# System prepended metadata

title: free5GC 5GC & UERANSIM UE / RAN Sample Configuration - Select UPF based on S-NSSAI
tags: [4. Software development]

---

free5GC 5GC & UERANSIM UE / RAN Sample Configuration - Select UPF based on S-NSSAI
===

###### tags: `free5gc` `openairinterface`

:::info
- **Location:** RT LAB
- **Date:** August 27, 2024
- **Agenda**
1. [Install Free5GC]( https://free5gc.org/guide/3-install-free5gc)
    - VM1 OS : Ubuntu 20.04.6
        - Free5gc version : 3.3.0
        - golang version :1.21.8
        - IP : 192.168.60.11 (AMF)
        - IP : 192.168.60.9 (SMF1)
        - IP : 192.168.60.8 (SMF2)
    - VM2 OS : Ubuntu 20.04.6
        - IP : 192.168.60.14 (UPF1)
    - VM3 OS : Ubuntu 20.04.6
        - IP : 192.168.60.15 (UPF2)
2. Install UERANSIM
    - VM4 OS : Ubuntu 20.04.6
        - IP : 192.168.60.30 (gNb)
    - VM5 OS : Ubuntu 20.04.6
        - IP : 192.168.60.33 (UE)
- **Author:** Saffana Zyan DINI
- **Contact:** Zyzy <M11102815@gapps.ntust.edu.tw>
- **Reference:** 
    - [free5GC 5GC & UERANSIM UE / RAN Sample Configuration - Select UPF based on S-NSSAI](https://github.com/s5uishida/free5gc_ueransim_snssai_upf_sample_config)

:::

# Install free5gc

:dart: Overview of free5GC 5GC Simulation Mobile Network
---
The following minimum configuration was set as a condition.

The UE selects a pair of SMF and UPF based on S-NSSAI.
The built simulation environment is as follows.

![image](https://hackmd.io/_uploads/rygalC9jA.png)


:books: User Plane Elements (UPF-1)
---
![image](https://hackmd.io/_uploads/H1TP-RcjA.png)


:mag: User Plane Elements (UPF-2)
---
![image](https://hackmd.io/_uploads/rJclf0cj0.png)


:closed_book: Control Plane Element 
--
![image](https://hackmd.io/_uploads/Hkloz0qjR.png)

:closed_book: gNb Log
--
![image](https://hackmd.io/_uploads/HkXZmRqjA.png)


:mag: UE Log
--
![image](https://hackmd.io/_uploads/SkZ8709oA.png)

![image](https://hackmd.io/_uploads/BJ4tXRcoC.png)


==Importance== this is still on going and final
