Unable to connect to external OR pod ips from inside a pod

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.21.1
Cloud being used: (put bare-metal if not on a public cloud) bare-metal
Installation method: kubeadm - ansible
Host OS: CentOS 7.9
CNI and version: Flannel
CRI and version: Docker

i am trying to spin up an application that needs to communicate with other pods and/or other ips accessible to the kube nodes. From inside the pod, I can only ping the pod gateway and not other pods or external ips. Can you please give me some tips on this?

I have ensured that the pod subnet does not conflict with the node subnet, clusterip or the docker subnet.

  • Arash

did u found any solution even am facing the same issue if yes can u please let me know