I am currently trying to build a very simple Software gNB (https://github.com/Srajdax/gnb) based on your code and the test scripts provided (it seems they are only intended for an All in One deployment on the same host).
My use case is to launch multiple gNB individually on different hosts to simulate UEs which could establish multiple PDU sessions with various UPFs.
But I have some trouble understanding the test scripts and some configuration files which raises some questions:
In the ‘smfcfg.test.yaml’ and in the test.sh, the IPv4 of the SMF N4 interface is set to
10.200.200.1and it seems to also be the IPv4 of the simulated gNB GTP-U tunnel Endpoint, is it done on purpose and could it be changed ?
Again in the same file, there is the
an_ipfor the RAN under the
userplane_informationsection, it is set to
126.96.36.199and there is also a
188.8.131.52for the UPF
up_resource_ip. How are used those IP internally ? (I’ve already read the wiki configuration and SMF config pages but still, I haven’t found out when running the tests how they are used).
uerouting.yamlused by the SMF, the
ANfield of each UE is set to the UPF GTP-U Endpoint IPv4, is it normal and is this field related to the
an_ipof the smfcfg.yaml ?
Again thank you for your work on this free Standalone version of the 5G CN.