Hi,
I created the free5gc-compose which means each NF as a container and I created the UERANSIM in a separate virtual machine.
I am able to run the UE and free5gc-compose, but I cannot run the ping while I have this tunnel
ping -I uesimtun0 google.com
Did anyone face this issue and fix it?
Thank you
spams
November 20, 2021, 6:01pm
2
Hi @nathaliewehbe.nw , are you sure that you used command:
sudo iptables -I FORWARD 1 -j ACCEPT
Hi,
Yes it’s 1 and still not working I trace the upf with uesimtun0 it’s working but the ping is not working
I run the free5fc-compose
I run the gnb of UERANSIM
I run the ue of UERANSIM
then I tried to ping using the tunnel I did not receive any response
While I got this
the 10.100.200.4 ip of upf1 or upf2 or upfb every run it select one of these upf
your help much appreciated
This link might be able to help you
opened 02:26AM - 01 Apr 21 UTC
closed 04:18PM - 25 Jun 21 UTC
Hi!
I am following the installation and connected it to the UERANSIM. The doc… ker-compose version of free5gc and UERANSIM are installed in the same PC. The free5gc-compose did not have any error and PDU session is established successfully, but I cannot ping google.com using uesimtun0 interface.
After running ‘sudo docker-compose up’ and before I start UERANSIM, I also enter the following in my host PC
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o ens18 -j MASQUERADE
sudo systemctl stop ufw
sudo iptables -I FORWARD 1 -j ACCEPT
But still, I cannot ping google.com using “ping -I uesimtun0 google.com”. I attach pcap file of (possibly) N3 and N6 interface, and uesimtun0 in the file pcaps.zip. Basically, they only have ICMP request but no response.
Does anyone know what is happening and how can I solve this? Thank you very much!!!
[pcaps.zip](https://github.com/free5gc/free5gc-compose/files/6240553/pcaps.zip)
@nathaliewehbe.nw , Am I seeing this correct? you are running the iptables command on UERANSIM VM. But these commands are to be run in the UPF containers.
Hi I already fix it by running iptables on upfb container level, and uncommented in the file of upfb this line natifname:eth0