-
Notifications
You must be signed in to change notification settings - Fork 131
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
N6 internet connectivity #61
Comments
So I've realized that it's a DNS issue. / # cat /etc/resolv.conf And this is the coredns configmap: When I changed the nameserver to 8.8.8.8 inside the alpine test container, the DNS resolution succeeds 50% of the time,, I also checked IP tables and added this rule to both minikube container and the ec2 instance iptables: but still no change. Here's a tcpdump during DNS query failure: / # tcpdump -v -i n6 192.168.49.101 is the container n6 interface IP Any ideas what's causing DNS resolution failure from the pods ? |
So, I've added these entries to /etc/hosts: The connection worked towards the internet, and I was able to install iputils-ping and ping worked: root@free5gc-upf-upf-589c67bf5-9lgx8:/free5gc/upf# ping 8.8.8.8 Has this DNS issue been seen/reported before? It might be a minikube issue, there seem to be some similar issues reported earlier: |
@amrbaraka is N6 internet connectivity working now for you now? I am also stuck at N6 internet connectivity issue. |
@rveerama1 is it the same symptoms as in my description ? i.e ping command from inside the pod is not available and DNS resolution failure when executing apt-get update,,, please also keep in mind that I was able to ping the n6 interface from it's default gw (which is the IP of minikube bridge created on AWS ec2) if yes, then you can append the below entries to /etc/hosts of the UPF: Afterwards, I was able to execute apt-get update and install iputils-ping pkg and I was able to test the ping towards the internet,, which worked fine in case of IPs, but still failed for domain names, so I installed vim and set 8.8.8.8 as my DNS server under /ets/resolv.conf and it worked. Br, |
@amrbaraka thanks for the reply. I reported my issue #62. I could do "apt update" and "apt install " inside UPF. but "kubectl --namespace sim exec -it $POD_NAME -- ping -c 1 -I uesimtun0 www.google.com" doesn't work. I tried pinging from inside UPF too.
|
@rveerama1 I've just suggested a modification in your config in issue #62 Br, |
@amrbaraka thank you. |
closing the issue. |
First, thank you for the published deployment & configuration details, following the instructions I've been able to deploy the UPF successfully on minikube on top of AWS EC2 ubuntu.
Now I'm facing the following issue:
First, I tried to use ping to test N6 connectivity towards the internet, but apparently iputils-ping is not part of UPF image.
So I tried apt-get update, and that's when I realized that internet connectivity is NOK:
You can see below that all interfaces are UP:
IP Routes:
I also removed the secondary default route manually "to keep only n6 as default route" but still internet reacheability failed:
I verified this via ping from the bridge interface on ec2:
Any ideas what could be going wrong?
Thanks in advance for your help & support.
Br,
Amr
The text was updated successfully, but these errors were encountered: