Open5GS and ZMQ (gNB + UE) setup on separate machines #738
Replies: 7 comments 3 replies
-
Hi, does Open5gs listen on correct interface for ngap connection? |
Beta Was this translation helpful? Give feedback.
-
Yes, I believe NGAP listens for connections on the correct interface. Here are the configurations (attached in TXT format since github won't let me upload yaml files): M1 Open5GS machine has IP address 10.182.50.31 while M2 (gNB and UE) has IP address 10.182.50.201. Below is a screenshot of M2 terminal when I run the gNB and UE. Thanks! |
Beta Was this translation helpful? Give feedback.
-
could you try this to set this parameter: https://github.com/herlesupreeth/docker_open5gs/blob/8b2f5c9211f37fc9a0d8b1256eec845953a42bb6/upf/upf.yaml#L18C2-L18C38
|
Beta Was this translation helpful? Give feedback.
-
I tried it and it's still the same issue. Could you explain why this might have solved the issue? Please note that I am not using the dockerized open5gs. I built it from scratch and am running the I think the problem is not because of some Open5GS or srsRAN (mis)configuration, but due to missing routing configuration on M2. This is why I cannot use If it is still confusing, I can provide more step-by-step details about the setup and network configuration ( |
Beta Was this translation helpful? Give feedback.
-
ah wait, the UE gets the IP assigned.
|
Beta Was this translation helpful? Give feedback.
-
Yes, the IP gets assigned. I have tried doing that before but it didn't work. Check the screenshot (bottom right tab) below for an overview of routing configurations. Inside Thanks! |
Beta Was this translation helpful? Give feedback.
-
@ahmadhassandebugs were you able to figure it out? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have a setup where Open5GS is running on one machine (M1) and ZMQ-based srsRAN gNB and srsUE on another machine (M2). Both machines are on the local network. I tested the setup and it seems to be working - srsUE is able to establish RRC connection with the core and it creates a tun
tun_srsue
inside the network namespaceue1
. However, I cannot figure out how to configure routing on M2 so that srsUE can transmit/receive traffic to/from the Open5GS core running on M1. For clarity, here's the summary of the setup:Note that I was able to successfully run this setup on a single machine after following ZeroMQ-based Setup tutorial.
I think if I can connect
tun_srsue
inside namespaceue1
to the root (by IP MASQUERADING and FORWARDING), it might solve the issue. Any kind of help/advice will be greatly appreciated.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions