install icon indicating copy to clipboard operation
install copied to clipboard

Install: Connecting pods to external networks

Open andrejmaya opened this issue 6 years ago • 3 comments

The ping to Google's DNS in Chapter 4: Connecting pods to external networks is not working:

[vagrant@kubeadm-master contiv-1.1.1]$ kubectl exec -it contiv-c1 sh
/ # ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

Any ideas how to solve it? I am using the k8s version 1.8 deployment

andrejmaya avatar May 02 '18 19:05 andrejmaya

Hi, I have the same problem.

netctl version Client Version: Version: 1.2.0

I am using the k8s version 1.11.2. Deployment - VXLAN based with fwdMode:routing.

Any ideas how to solve it?

vtlrazin avatar Aug 19 '18 08:08 vtlrazin

Hi andrejmaya,

I found problem. Please execute on each host:

iptables -P FORWARD ACCEPT

B.R. Vitaliy

vtlrazin avatar Aug 28 '18 12:08 vtlrazin

Thanks Vitaliy for the solution. Your suggestion solved my problem

kannanvr avatar Nov 24 '18 16:11 kannanvr