External gNB #154
-
Hi, I succeeded having the Open5GS running in containers with the UERANSIM gNB and UE. I want to move forward to physical world and use Amarisoft gNB in order to have real UEs connected. I performed the suggested changes in the Configuration section of the readme.md here, by uncommenting the various ports in the various yaml files, as well as setting the physical PC IP addresses in the .env file. I noticed on https://www.sharetechnote.com/html/OpenRAN/OR_open5gs_Run.html which relies on a monolithic Open5GS VM setup they advertise the IP address in the
be set in
in the I was preparing a set of changes to push, but I probably miss something as the INIT message from gNB cannot reach its destination, according to Wireshark capture on the Open5GS end. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 14 replies
-
You dont need AMF advertise address since the docker is publishing port 38413 for NGAP communications over SCTP. Just make sure in sa-deploy.yaml file you uncomment ports section under AMF and UPF section. Then use it as follows docker-compose - f sa-deploy.yaml up |
Beta Was this translation helpful? Give feedback.
-
So I guess my issue is somewhere else on the host/docker setup, as the external gNB or eNB are not able to establish communication with AMF or MME respectively. |
Beta Was this translation helpful? Give feedback.
-
I realized later you would face this issue if you run UERANSIM in docker on another machine. If you run UERANSIM natively (no docker involved) on another PC then you would not face this issue of SCTP. Are you running the gNB in a docker by any chance?
It should be 192.168.100.31 |
Beta Was this translation helpful? Give feedback.
-
Ok, After reseting the PC with Docker Desktop, I confirm the external eNB/gNB cannot reach the Core. When switching to Docker Engine - Exact same configuration files, all work as expected. Maybe an note in the readme could be added? Also to note with latest version of Docker Engine comes Compose v2 in lieu of docker-compose. This will be removed in a couple of month. Maybe an update of the same readme? |
Beta Was this translation helpful? Give feedback.
-
I dont mind adding but the README states to use docker-ce and not docker desktop :)
Yeah, thats still on my TODO list. Its a matter of replacing docker-compose with docker compose so hadn't given much importance |
Beta Was this translation helpful? Give feedback.
What an eagle eye! On the retry (with Docker Engine, rather than Docker Desktop) I indeed started the container with
nsa-deploy.yaml
config.When started with
sa-deploy.yaml
it works much better.I checked and can confirm I used the proper
sa-deploy.yaml
when trying with Docker Desktop. I'll dig on that side for curiosity why it can't properly work in this setup.