Skip to content
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

Install: Connecting pods to external networks #349

Open
andrejmaya opened this issue May 2, 2018 · 3 comments
Open

Install: Connecting pods to external networks #349

andrejmaya opened this issue May 2, 2018 · 3 comments

Comments

@andrejmaya
Copy link

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

@vtlrazin
Copy link

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
Copy link

Hi andrejmaya,

I found problem.
Please execute on each host:

iptables -P FORWARD ACCEPT

B.R.
Vitaliy

@kannanvr
Copy link

Thanks Vitaliy for the solution. Your suggestion solved my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants