aligungr / UERANSIM

Open source 5G UE and RAN (gNodeB) implementation.
GNU General Public License v3.0
758 stars 316 forks source link

nr-binder fails in name resolution #510

Open raoufkh opened 2 years ago

raoufkh commented 2 years ago

Hello

I'm using UERANSIM v3.2.6 agains Open5GS on a kubernetes cluster. All is fine and the UE container has its uesimtun0 interface from which I can access to internet with ping -I, traceroute -i and curl --interface. However, I want to make use of nr-binder to make it able to use commands that don't allow specifying the source interface or source network address. When I use nr-binder with IP addresses which are connected to UPF N6 interface it works well but when I try with DNS names (e.g. www.google.com) it fails.

root@ueransim-ue-f9575f6dd-7n5xx:/ueransim/build# ./nr-binder 10.45.0.13 curl www.google.com
curl: (6) Could not resolve host: www.google.com
root@ueransim-ue-f9575f6dd-7n5xx:/ueransim/build# ./nr-binder 10.45.0.13 ping www.google.com
ping: www.google.com: Temporary failure in name resolution

Thanks in advance.

Raouf

aligungr commented 2 years ago

Hi @raoufkh

Please see https://github.com/aligungr/UERANSIM/issues/482

Best regards