Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run open5gs and srsRan in docker on separate machines #405

Open
junglej opened this issue Jan 2, 2025 · 2 comments
Open

Run open5gs and srsRan in docker on separate machines #405

junglej opened this issue Jan 2, 2025 · 2 comments

Comments

@junglej
Copy link

junglej commented Jan 2, 2025

I I want to set up two nodes using docker. I deployed open5g core network on node one and srsRan on node two. How should I do it?

@herlesupreeth
Copy link
Owner

Please read the README, there is a section dedicated for this type of setup

@junglej
Copy link
Author

junglej commented Jan 3, 2025

Thanks for your reminder!

I use the following setup:
Run Open5gs in Host A: 192.168.0.11 (PHY Address)
Run scan as host mode in Host B: 192.168.0.2 (PHY Address)

The gNB can connect to the amf and up, and the cost unit (Quectel RM500Q-GL) can connect to the 5G.

I use minicom to connect RM500Q-GL and the AT command to get the IP; it is the same as the IP assigned by UPF. But I try to ping 8.8.8.8 on the UE side. It does not work.

I disable the ufw service and set the host A's IP route table is that:
ip route show
default via 192.168.50.1 dev wlp0s20f3 proto dhcp metric 600
default via 192.168.0.1 dev enp49s0 proto static metric 20100
169.254.0.0/16 dev wlp0s20f3 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 dev br-a36aa12aa5af proto kernel scope link src 172.18.0.1 linkdown
172.19.0.0/16 dev docker_gwbridge proto kernel scope link src 172.19.0.1
192.168.0.0/24 dev enp49s0 proto kernel scope link src 192.168.0.11 metric 100
192.168.49.0/24 dev br-5eb5f2e73e3c proto kernel scope link src 192.168.49.1 linkdown
192.168.50.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.50.251 metric 600
192.168.100.0/24 dev br-202ffa0717a5 proto kernel scope link src 192.168.100.1

I also try to use Docker swarm to deploy the open5gs and srsRan and use tcpdump to capture the packet. In this mode, I can catch the ICMP Request packet from UE but cannot catch ICMP Reply packet from host A. Could you help my to solve this problem?

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants