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

TUN interface is created in the UE, and not in the gNB #683

Open
endrigoshi opened this issue Jan 3, 2024 · 2 comments
Open

TUN interface is created in the UE, and not in the gNB #683

endrigoshi opened this issue Jan 3, 2024 · 2 comments

Comments

@endrigoshi
Copy link

Hello all,

As I was playing around with UERANSIM and free5gc, I tried out a setup where the UEs are running in a separate PC from the gNB. The deployment works fine and I can communicate with other nodes in the network.

However, what caught my attention was the creation of the uesimtun interface. From my understating of the 5G U-Plane, the gtp tunnel runs between gNB and UPF. Meaning that packets are sent from UE to gNB, and then in gNB they are tunneled to the UPF. In the case of UERANSIM, the TUN interfaces are created in the PC where the UE is running, and thus the packets do not flow at all towards the gNB before reaching UPF.

Is this behavior intended by the developer, or is it an issue inside the code?

Thanks!

@CharlaftisBill
Copy link

We have noticed the same behavior.

@endrigoshi Have you found any answer to this question?

@aligungr
Copy link
Owner

Hello,

Yes, this is intended behavior. uesimtun is not a GTP tunnel. GTP protocol is actually a simple UDP based protocol between gNB and UPF. There is no need to create a network interface for that purpose. GTP is just an (almost) pure UDP.

uesimtun is, on the other hand, utilized to simulate passing packets from UE to gNB in a Linux environment.

Best Regards.

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

3 participants