srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
515 stars 176 forks source link

Quectel UE can not ping to Core #751

Closed dhiaboujebha closed 2 months ago

dhiaboujebha commented 3 months ago

Issue Description

I am using Quectel RM-500Q as an UE in my setup. The SIM-Card is already configered. The device gets attached to the Open5GS Core and gets an ip address. The problem is that i can only ping from Core -> UE using "ping -I ogstun 10.45.0.x" (without precising the interface in the host machine i am not able to ping anymore).

quectel

Trying to ping from UE->Core was always not successful: (no response found!).

wireshark

I have already set the ip_forwarding to 1 in all machines. Using the command "sudo ./Quectel-CM the device gets connected and the routing commands are also run automatically.

UE: routing

Core: image

Any idea how to solve this?

pgawlowicz commented 3 months ago

did you setup ip forwarding on the machine running open5gs?

dhiaboujebha commented 2 months ago

@pgawlowicz we had to add the ip address assigned to the quectel in the routing table of the core computer manually. (sudo ip route add 10.45.0.x dev ogstun). We are now able to ping both ways. Thanks! :)