Gradiant / 5g-charts

Helm charts for 5G Technologies
Apache License 2.0
110 stars 43 forks source link

UERANSIM-UES 3.2.6 not working -> DNN Problem #103

Closed DiogoCruz40 closed 1 year ago

DiogoCruz40 commented 1 year ago

Hello, so i have subscribed to imsi in the open5gs WebUI '999700000000001'. But in the ueransim-ue container appears this error. All other container logs seems fine

Captura de ecrã de 2022-11-19 03-21-00

DiogoCruz40 commented 1 year ago

OK, i found out the problem is in your sd in apn it must be 0xffffff instead of 0x111111

DiogoCruz40 commented 1 year ago

Is it possible to redirect all traffic to the network interface uesimtun0 without using the manual command "ping -I uesimtun0 8.8.8.8"

avrodriguezgrad commented 1 year ago

Hello Diogo, thanks for using our charts. First of all,

OK, i found out the problem is in your sd in apn it must be 0xffffff instead of 0x111111

Are you sure about this? Which version are you using of the charts? I don't see any 0xffffff in the charts. All charts have configured 0x111111.

Is it possible to redirect all traffic to the network interface uesimtun0 without using the manual command "ping -I uesimtun0 8.8.8.8"

Automatically, I don't know if it is possible. I think changing the default route could be possible, but I've never done it. You can search in the official repo of UERANSIM: https://github.com/aligungr/UERANSIM

DiogoCruz40 commented 1 year ago

Hello @avrodriguezgrad, thank you so much,

Are you sure about this? Which version are you using of the charts? I don't see any 0xffffff in the charts. All charts have configured 0x111111.

Yes, I'm sure of this. I'm using your latest versions of charts. Please consider testing on an environment the UERANSIM + Open5gs. The problem is in the APN slice configuration 'sd'. As i said i solved it using the sd '0xffffff'.

Automatically, I don't know if it is possible. I think changing the default route could be possible, but I've never done it. You can search in the official repo of UERANSIM: https://github.com/aligungr/UERANSIM

Solved adding to UE container:

sysctl -w net.ipv4.ip_forward=1
ip route add 10.45.0.0/24 dev uesimtun0