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

Only ping possible between srsUE and srsGNB #480

Closed
oliverxsch opened this issue Feb 19, 2024 · 13 comments
Closed

Only ping possible between srsUE and srsGNB #480

oliverxsch opened this issue Feb 19, 2024 · 13 comments

Comments

@oliverxsch
Copy link

Issue Description

Hello,
this was my old Issue, but because this problem occured and the old problem did not persist, i opened this new isssue.
#423

Setup Details

Only ping from UE to gnb is possible.
If i ping the UE from the gnb, the messages like in the screenshots happen.
Im using two X310s connected via SMA cable, both with their own host pc.
Using X410 as the gnb does not change the situation.
Screenshot_55

Here are my configs and logs.:
srsRan Github.zip

Additional Information

Please check my old issue: #423
There are a lot of suggestions which we already tried.

Thanks in advance

@pgawlowicz
Copy link
Collaborator

Hi,
could you list all interfaces on your srsUE host? You can use ifconfig

@oliverxsch
Copy link
Author

Hi, could you list all interfaces on your srsUE host? You can use ifconfig

I already left the lab, i will answer tomorrow.

@oliverxsch
Copy link
Author

Hi, could you list all interfaces on your srsUE host? You can use ifconfig

Here:
screenshot

@pgawlowicz
Copy link
Collaborator

So there is no tun_srsue interface, the interface is created when srsUE attached and gets an IP address. Therefore, I believe it was not connected, or?

@oliverxsch
Copy link
Author

oliverxsch commented Feb 21, 2024

So there is no tun_srsue interface, the interface is created when srsUE attached and gets an IP address. Therefore, I believe it was not connected, or?
No, sorry it did not start the gnb.
Here is a screen with the gNB running and connected. the interface is there.
ue
gnb

@pgawlowicz
Copy link
Collaborator

could you print routing tables on both gnb and ue?
could you try to ping the UE from Open5GS docker container?

docker exec -it open5gs_5gc ping 10.45.1.2

@oliverxsch
Copy link
Author

could you print routing tables on both gnb and ue? could you try to ping the UE from Open5GS docker container?

docker exec -it open5gs_5gc ping 10.45.1.2

Okay. Here are the routing tables for UE and gNB:
gnbrouting
ue routing

And this is what happens if i use your command on the gnb to ping the UE:
gnbpinguedocker

@pgawlowicz
Copy link
Collaborator

could you make screenshots of console traces from gnb and ue?

@oliverxsch
Copy link
Author

Now your command is working somehow.
But the iperfs commands provided in the tutorial do not work.
Thanks anyway!
I believe the tutorial got changed (to include the CN per docker) but the ping commands and iperf commands did not change?
How would i need to adjust the iperf command ?

@pgawlowicz
Copy link
Collaborator

If the routes are configured correctly, then the commands provided in the tutorial should work.

@oliverxsch
Copy link
Author

oliverxsch commented Feb 28, 2024

If the routes are configured correctly, then the commands provided in the tutorial should work.

These are my tables and what happens when i use iperf.
UE:
routingue
GNB:
routinggnb

@oliverxsch
Copy link
Author

oliverxsch commented Feb 28, 2024

Oh, i just found my problem.
I used the command:
Next add default route for the UE (...) on the wrong machine xD

Thanks for your help

@pgawlowicz
Copy link
Collaborator

iperf server on gnb:

iperf3 -s -i 1

iperf client on srsUE:

iperf3 -c 10.53.1.1 -i 1 -t 60 -u -b 10M

So in your case the UE has no idea how to reach iperf server, as the default route is going somewhere else.
You can start the client inside open5gs docker and then run iperf3 -c 10.45.1.1 -i 1 -t 60 -u -b 10M

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