--- title: 'IMPLEMENTATION Free 5G Core' disqus: hackmd --- # Free 5GC x III Project [TOC] ## Architecture ![Screenshot 2024-05-09 at 17.11.49](https://hackmd.io/_uploads/HkOqmzczC.png) ## Call Flow ![Screenshot 2024-05-09 at 17.10.09](https://hackmd.io/_uploads/SkKHQf5GA.png) ## Step 1. We can Login `ssh rtlab@192.168.50.XX` > Free 5GC > Config. ![image](https://hackmd.io/_uploads/ByfjX5seA.png) Here we can't modified in: ``` amfcfg.yaml smfcfg.yaml nssfcfg.yaml ``` ![image](https://hackmd.io/_uploads/SJRr4colR.png) We should not modify the files **amfcfg.yaml**, **smfcfg.yaml**, and **nssfcfg.yaml** in Free 5G because these files contain critical configuration settings for the AMF (Access and Mobility Management Function), SMF (Session Management Function), and NSSF (Network Slice Selection Function), respectively. These functions play vital roles in the operation and management of the 5G core network. Modifying these configuration files without proper understanding or authorization can lead to network instability, service disruptions, or security vulnerabilities. Furthermore, these configuration files are typically managed by network administrators or operators who have a deep understanding of the network architecture and requirements. Any changes made to these files should follow strict procedures and be thoroughly tested in a controlled environment to ensure the stability and security of the 5G network. ![Screenshot 2024-04-12 at 17.05.01-min](https://hackmd.io/_uploads/Sy6L0cieR.png) Running in `/free5gc_cp` If we want to run, we can create `./cp.sh` ![Screenshot 2024-04-16 at 14.24.34-min 2](https://hackmd.io/_uploads/B1w495ixR.png) ![Screenshot 2024-04-16 at 14.27.41-min](https://hackmd.io/_uploads/Byfi9qjlA.png) ![Screenshot 2024-04-16 at 14.29.38-min](https://hackmd.io/_uploads/rJDEscsgA.png) ![Screenshot 2024-04-16 at 14.33.35-min](https://hackmd.io/_uploads/HJt5pcoeA.png) Running in `/free5gc_up` If we want to run, we can create `sudo bin/upf` ![Screenshot 2024-04-16 at 14.50.32-min](https://hackmd.io/_uploads/SypMeislA.png) ![Screenshot 2024-04-16 at 14.53.39-min 2](https://hackmd.io/_uploads/BJLpZisgA.png) Create a pcap file to restore and Execute tshark ![image](https://hackmd.io/_uploads/Hk1UzsolC.png) If you want to interrupt tshark "Ctrl+C" Free5gc_up ![image](https://hackmd.io/_uploads/Sy2PBoieA.png) Free5gc_cp ![image](https://hackmd.io/_uploads/H1JhXjigC.png) Configuration Router ![image](https://hackmd.io/_uploads/Sy9phoieA.png) Setting IP ![image](https://hackmd.io/_uploads/rkwAg3igC.png) Setting DHCP ![image](https://hackmd.io/_uploads/HyoFl3olA.png) Testing 5G trials are a crucial stage in the development and implementation of 5G networks. Here are the main conclusions that can be drawn from 5G testing trials: 1. **Performance Evaluation**: 5G testing trials allow experts and engineers to evaluate the performance of 5G networks in various scenarios and conditions. This includes measuring speed, latency, capacity, and network reliability. 2. **Technology Verification**: Testing trials enable the verification of new technologies used in 5G networks, such as Massive MIMO, beamforming, and network slicing. This helps ensure that these technologies can function effectively in real-world environments. 3. **Network Optimization**: Results from testing trials help network operators optimize their 5G infrastructure. By understanding weaknesses and challenges faced, operators can make necessary improvements and adjustments to enhance network performance. 4. **Validation of Use Cases**: Testing trials also aid in validating use cases for 5G applications across various industries, such as IoT, telemedicine, industrial automation, and autonomous vehicles. This ensures that 5G networks can support various types of services with the required reliability and performance. 5. **Commercialization Preparation**: 5G testing trials are also a crucial step in preparing for the commercialization of 5G networks. By gaining a better understanding of network performance and capabilities, operators can plan commercial launches more effectively. In conclusion,5G testing trials are a critical process in the development and implementation of 5G networks, aiding in performance evaluation, technology verification, network optimization, validation of use cases, and preparation for commercialization. With the results from these trials, it is hoped that 5G networks can provide a superior experience for users and support broader digital transformation. ## Reference * https://www.researchgate.net/publication/367890643_Evaluating_Dedicated_Slices_of_Different_Configurations_in_5G_Core