|
| 1 | +## 5G Core Network |
| 2 | + |
| 3 | +The 5G Core Network operates as a standalone network based on the 3GPP specifications TS 23.501 [[1]][ts3144-3gpp] and TS 23.502 [[2]][ts3145-3gpp], implemented using the Open5GS software [[3]][open5gs-open5gs]. The 5G Core Network consists of the MME, SGWC, SMF, AMF, SGWU, UPF, HSS, PCRF, NRF, SCP, SEPP 1, SEPP 2, AUSF, UDM, PCF, NSSF, BSF, and UDR. |
| 4 | + |
| 5 | +## Usage |
| 6 | +- **Compile**: Use `./full_install.sh` to build the 5G Core. |
| 7 | +- **Generate Configurations**: Use `./generate_configurations.sh` to create configuration files. |
| 8 | + - Configuration files can be accessed and modified in the `configs` directory. |
| 9 | +- **Start the 5G Core Network**: Use `./run.sh` to start the 5G Core components. |
| 10 | + - To start each component in its own gnome-terminal instance, use `./run.sh show`. |
| 11 | +- **Stop the Network**: Terminate the network operation with `./stop.sh`. |
| 12 | +- **Status**: Check if the 5G Core is running with `./is_running.sh`. The output will display which components are running. |
| 13 | +- **Logs**: Access logs by navigating to the `logs` directory. |
| 14 | + |
| 15 | +### Custom PLMN and TAC Identifiers |
| 16 | +Modify the `5G_Core_Network/options.yaml` for different PLMN and TAC IDs, then apply changes with the following. |
| 17 | +```console |
| 18 | +./generate_configurations.sh |
| 19 | +./stop.sh |
| 20 | +./run.sh |
| 21 | +cd ../Next_Generation_Node_B |
| 22 | +./generate_configurations.sh |
| 23 | +cd ../5G_Core_Network |
| 24 | +``` |
| 25 | + |
| 26 | +## Accessing Subscriber Data |
| 27 | +The WebUI hosts a web interface to access subscriber data. To access the WebUI, navigate to `http://localhost:9999` in a web browser, or run `start_webui.sh` to open it in Chrome or Firefox automatically. |
| 28 | + |
| 29 | +Alternatively, to create subscriber entries from command line, use the following. |
| 30 | +```console |
| 31 | +./install_scripts/register_subscriber.sh --imsi 001010123456780 --key 00112233445566778899AABBCCDDEEFF --opc 63BFA50EE6523365FF14C1F45F88737D --apn srsapn |
| 32 | +``` |
| 33 | + |
| 34 | +By default, the configuration process automatically creates subscriber entries for UE 1, UE 2, and UE 3 based on the following table from the blueprint [[4]][nist-tn]. |
| 35 | + |
| 36 | +<table><thead> |
| 37 | + <tr> |
| 38 | + <th>UE</th> |
| 39 | + <th>UE 1</th> |
| 40 | + <th>UE 2</th> |
| 41 | + <th>UE 3</th> |
| 42 | + </tr></thead> |
| 43 | +<tbody> |
| 44 | + <tr> |
| 45 | + <td>OPc</td> |
| 46 | + <td colspan="3">63BFA50EE6523365FF14C1F45F88737D</td> |
| 47 | + </tr> |
| 48 | + <tr> |
| 49 | + <td>K</td> |
| 50 | + <td>00112233445566778899AABBCCDDEEFF</td> |
| 51 | + <td>...F00</td> |
| 52 | + <td>...F01</td> |
| 53 | + </tr> |
| 54 | + <tr> |
| 55 | + <td>IMSI</td> |
| 56 | + <td>001010123456780</td> |
| 57 | + <td>...90</td> |
| 58 | + <td>...91</td> |
| 59 | + </tr> |
| 60 | + <tr> |
| 61 | + <td>IMEI</td> |
| 62 | + <td>353490069873319</td> |
| 63 | + <td>...8</td> |
| 64 | + <td>...2</td> |
| 65 | + </tr> |
| 66 | + <tr> |
| 67 | + <td>netns</td> |
| 68 | + <td>ue1</td> |
| 69 | + <td>ue2</td> |
| 70 | + <td>ue3</td> |
| 71 | + </tr> |
| 72 | + <tr> |
| 73 | + <td>TX Port</td> |
| 74 | + <td>2101</td> |
| 75 | + <td>2201</td> |
| 76 | + <td>2301</td> |
| 77 | + </tr> |
| 78 | + <tr> |
| 79 | + <td>RX Port</td> |
| 80 | + <td>2100</td> |
| 81 | + <td>2200</td> |
| 82 | + <td>2300</td> |
| 83 | + </tr> |
| 84 | +</tbody> |
| 85 | +</table> |
| 86 | + |
| 87 | +For more information on the subscriber data, refer to the blueprint [[4]][nist-tn] and the User_Eqiupment README document. |
| 88 | + |
| 89 | +## References |
| 90 | +1. 3GPP TS 23.501: System Architecture for the 5G System. [https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3144][ts3144-3gpp] |
| 91 | +2. 3GPP TS 23.502: Procedures for the 5G System. [https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3145][ts3145-3gpp] |
| 92 | +3. Open Source implementation for 5G Core and EPC. Open5GS. [https://open5gs.org/][open5gs-open5gs] |
| 93 | +4. Liu, Peng, Lee, Kyehwan, Cintrón, Fernando J., Wuthier, Simeon, Savaliya, Bhadresh, Montgomery, Douglas, Rouil, Richard (2024). Blueprint for Deploying 5G O-RAN Testbeds: A Guide to Using Diverse O-RAN Software Stacks. National Institute of Standards and Technology. [https://doi.org/10.6028/NIST.TN.2311][nist-tn] |
| 94 | + |
| 95 | +<!-- References --> |
| 96 | + |
| 97 | +[ts3144-3gpp]: https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3144 |
| 98 | +[ts3145-3gpp]: https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3145 |
| 99 | +[open5gs-open5gs]: https://open5gs.org |
| 100 | +[nist-tn]: https://doi.org/10.6028/NIST.TN.2311 |
0 commit comments