-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Flannel.1 cannot forward the packets to docker0 #731
Comments
i meet the same problems wit you. can't forward packets to docker0,my issue:kubernetes/kubernetes#46077 |
i guess it's the ubuntu 14.04 kernel's problem; |
@berlinsaint @defcyy my linux kernel version is the same as yours. I added the forward rule "iptables -P FORWARD ACCEPT" ,but it still did not work. The flannel version you use is 0.7.1? |
@KDF5000 071 too, i guess your kernel version is 3.13 right? i update my kernel ,the problem solved. |
@berlinsaint yes, it is 3.13.0-24. Did you upgrade to 16.04 or rebuild a new kernel? |
nop, just upgrade the kernel. use |
靠,都是中国人,QQ 66375364 一起交流 |
你要是 升级内核后也解决问题了,我建议我们提一个issue,官方flannel貌似没有说 有内核限制吧?我好像没看到。 |
@berlinsaint @defcyy After I upgrade the kernel to 4.2.0-42, it works! Thanks!! @berlinsaint @defcyy There are some related issues which will be helpful: ps: @berlinsaint 你的qq需要验证[捂脸] |
我发邮件给你, 你回复我下 @KDF5000 |
Hi,
I deployed k8s cluster with two nodes using Flannel as the overlay network. The deployment env is:
OS: Ubuntu 14.04
Kubernetes: 1.6.2
Etcd: 3.1.5
Flannel: 0.7.1
One physical node(A) is as master and node , while another(B) is just node. Then I create a pod on each node. I can ping the pod on the Master node(A) from B successfully, but cannot get response when ping the pod on B from A. So I trace the iptables using target TRACE, and got the following messaege:
the mac address is weird. When ping from A to B, the log is as the following:
It seems that the iptables drop the packets from flannel.1 to docker0, but I have no idea that how to solve it. I compare the iptables rules on the two nodes. I didn`t find any difference.
And the route info is different with the one using flannel 0.5.5:
flannel 0.7.1:
flannel 0.5.5:
I don`t know whether there are some bugs with flannel 0.7.1. So what can I do to solve the problem? Thanks !
The text was updated successfully, but these errors were encountered: