-
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
How to determine why flannelized IPs can't see one another? #216
Comments
I ultimately found that running The solution ? I ran "iptables -F" on all of my machines. This seemed to clear up the issue. So in the end, I think there are really 3 steps to debugging this.
Hope this is the right advice, if not please leave a comment in this thread, otherwise, ill close the issue. |
@jayunit100 Yes, this is a known issue with Vagrant, please see #98 However, also make sure that the network that's been configured for flannel does not overlap with the host's IPs. From
I see that your host's (well, VM's) IP is |
I've setup flannel 0.2 between some machines using a vagrant+virtualbox recipe with etcd, and docker 1.6. All indicators which I can think of seem to be green, but containers aren't able to ping/reach one another. What other items shall I check for ?
So far I've verified:
ip a
both appear to be the same subnet.machine1:
machine 2:
Everything seems okay so far... So, the next step, I launched two containers.
The second container had the same (ip was 10.0.24.4, however) but the two containers couldn't reach one another:
and vice versa as well (10.0.24.11 couldnt ping .4).
How can I determine why it is that these two flannel subnets arent unified / able to reach one another ? Is there a way i can test for membership in the flannel vxlan, as opposed to just looking to confirm that the IP is on the 10 subnet?
My current thought is that maybe I can do a watch on etcd, to see how
coreos.com/network
entries are being written... but maybe there is a more natural way to debug flannel connectivity ?The text was updated successfully, but these errors were encountered: