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

No response while pinging from UERansim's container #83

Closed
kcl17 opened this issue Sep 13, 2023 · 7 comments
Closed

No response while pinging from UERansim's container #83

kcl17 opened this issue Sep 13, 2023 · 7 comments

Comments

@kcl17
Copy link

kcl17 commented Sep 13, 2023

I have successfully established pdu session and below are the details of trying to ping google inside the ueransim container
image

image
Here i am pinging google.com from uesimtun1 interface
below i am trying the same with uesimtun0 interface

image

@kcl17 kcl17 closed this as completed Sep 13, 2023
@abousselmi
Copy link
Collaborator

Hi @Khushi798

Can you share some details about how you did solve this issue?

Thanks

@kcl17
Copy link
Author

kcl17 commented Sep 14, 2023

Hi @Khushi798

Can you share some details about how you did solve this issue?

Thanks

Hi @abousselmi

Sorry , I accidentally closed this issue .
I am currenlty following this documentation for deploying eBPF based UPF with free5gc core.
I have been using the Docker Compose method for deployment as the k8s method doesn't seem to be working for now. Everything seems to be functioning correctly in the Docker Compose setup, as all the containers are up and running, and I've successfully tested the EUPF .

Specifically, there are two containers running for EUPF: one for Swagger and the other for Core Manager. Here are some screenshots for reference:

EUPF Swagger Container
my eupf is sending proper heartbeats to smf
EUPF Core Manager Container

The issue arises after the establishment of PDU session and execute the following ping command within the container:

ping -I uesimtun0 google.com

Unfortunately, I'm experiencing 100% packet loss, and there is no response to the ping request.

I have attached the logs of the AMF for your reference: AMF.txt.
Also, please checkout the images in the last message too.

I would greatly appreciate any assistance or insights into why there is no response to the ping command request. Thank you!

@kcl17 kcl17 reopened this Sep 14, 2023
@kcl17 kcl17 changed the title AMF not responding while pinging from UE's shell No response while pinging from UERansim's container Sep 14, 2023
@abousselmi
Copy link
Collaborator

Hi @Khushi798

Please take a look at #28 and #35

@kcl17 kcl17 closed this as completed Sep 14, 2023
@kcl17
Copy link
Author

kcl17 commented Sep 14, 2023

Hi @Khushi798

Please take a look at #28 and #35

Hi @abousselmi

I have also set the iptable with

 sudo sysctl -w net.ipv4.ip_forward=1
 sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
 sudo systemctl stop ufw
 sudo iptables -I FORWARD 1 -j ACCEPT

I have also tried #28 , it is still not working.

And the output for ICMP packets are reaching the UPF using tcpdump:
image
Thank you!

@kcl17 kcl17 reopened this Sep 14, 2023
@abousselmi
Copy link
Collaborator

And the output for ICMP packets are reaching the UPF using tcpdump

As per your figure, the tcpdump was executed in the UERANSIM container, not in the UPF.

You should at least be able to see the packets leaving the ueransim container's uesimtun0 (icmp) or eth0 (icmp over gtp).

@ianchen0119
Copy link
Collaborator

Hi @Khushi798

image

It seems like there is no traffic leaving from uesimtun interface.
Could you please help to provide the control plane traffic inside the ueransim container?

Thanks.

@kcl17 kcl17 closed this as completed Sep 16, 2023
@kcl17 kcl17 reopened this Sep 16, 2023
@kcl17
Copy link
Author

kcl17 commented Sep 23, 2023

Hii !
@ianchen0119 @abousselmi
Thank you for your help and suggestions . As for now my ue is connected and working happily :)

@kcl17 kcl17 closed this as completed Sep 23, 2023
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