<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《理解Docker跨多主机容器网络》的评论</title>
	<atom:link href="http://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/feed/" rel="self" type="application/rss+xml" />
	<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/</link>
	<description>一个程序员的心路历程</description>
	<lastBuildDate>Wed, 25 Mar 2026 09:21:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-7358</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Thu, 02 May 2019 22:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-7358</guid>
		<description>您是想自己在A和B主机之间构建一个overlay network么？那显然你的步骤还不够啊。overlay network至少需要A和B主机上部署两个vxlan 处理程序。建议使用flannel、weave去建立。或使用docker swarm。</description>
		<content:encoded><![CDATA[<p>您是想自己在A和B主机之间构建一个overlay network么？那显然你的步骤还不够啊。overlay network至少需要A和B主机上部署两个vxlan 处理程序。建议使用flannel、weave去建立。或使用docker swarm。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：chouchou</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-7357</link>
		<dc:creator>chouchou</dc:creator>
		<pubDate>Wed, 01 May 2019 11:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-7357</guid>
		<description>构建了这样一个环境：两个主机A,B，分别做如下配置
手动创建了一个命名空间ns，一对veth接口(veth0--veth1), 一个网桥bridge
然后，将veth0加入ns中，将veth1绑定在bridge上

问题现象：veth0（A）无法ping veth0（B）
经过抓包发现：arp学习的包正确发出
                         但是icmp包走到了veth1（A）上之后就没了，即在vxlan上没抓到icmp包
所以：试了很多方法都没找到原因，请教大牛，可能会是什么原因，能提供点线索就行，多谢啦！</description>
		<content:encoded><![CDATA[<p>构建了这样一个环境：两个主机A,B，分别做如下配置<br />
手动创建了一个命名空间ns，一对veth接口(veth0&#8211;veth1), 一个网桥bridge<br />
然后，将veth0加入ns中，将veth1绑定在bridge上</p>
<p>问题现象：veth0（A）无法ping veth0（B）<br />
经过抓包发现：arp学习的包正确发出<br />
                         但是icmp包走到了veth1（A）上之后就没了，即在vxlan上没抓到icmp包<br />
所以：试了很多方法都没找到原因，请教大牛，可能会是什么原因，能提供点线索就行，多谢啦！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：jeasonw</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-7274</link>
		<dc:creator>jeasonw</dc:creator>
		<pubDate>Thu, 27 Sep 2018 03:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-7274</guid>
		<description>vxlan1 在1-da3d1b5fcb命名空间里，安装命名空间的的原理，1-da3d1b5fcb是无法直接访问根空间， vxlan1 封装的的vxlan数据包如何通过主机的eth0口发送给对端？</description>
		<content:encoded><![CDATA[<p>vxlan1 在1-da3d1b5fcb命名空间里，安装命名空间的的原理，1-da3d1b5fcb是无法直接访问根空间， vxlan1 封装的的vxlan数据包如何通过主机的eth0口发送给对端？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-7234</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Tue, 17 Jul 2018 00:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-7234</guid>
		<description>好多年不搞纯docker swarm网络了，可能没法帮到你了，抱歉。</description>
		<content:encoded><![CDATA[<p>好多年不搞纯docker swarm网络了，可能没法帮到你了，抱歉。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：邹姣姣</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-7233</link>
		<dc:creator>邹姣姣</dc:creator>
		<pubDate>Mon, 16 Jul 2018 03:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-7233</guid>
		<description>请教一下：
docker swarm集群，用stack.yaml编排。手动添加overlay network。
信息如下：
# docker node ls
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS
8noy8hhvsy0gvp52afhl8vwan     node_08             Ready               Active              Reachable
gphhyabemglnd73m8ioqtxyjg     node_09             Ready               Active              
p1bnas8j9048qsluvt0dilk60     node_07             Ready               Active              Leader
utbrwuh14b22lj3f5h6iji81y *   node_04             Ready               Active              Reachable
# docker stack services saas 
ID                  NAME                MODE                REPLICAS            IMAGE                                            PORTS
19zhjcws7bqk        saas_sp_v1          replicated          1/1                 docker.hnjing.com:5000/saas/sp:1.12.11           
h2pfgpj24syj        saas_wo_v1          replicated          1/1                 docker.hnjing.com:5000/saas/wo:1.12.10           
以上服务都在basenet   overlay 网络中。
# docker network ls&#124;grep base
uynivunza276        basenet             overlay             swarm
这种情况下：开发在代码中调用不同的服务的时候，使用sp_v1、wo_v1等service name。
大部分时间，这调用是正常的。有时候出现调用不通，手动测试使用sp_v1容器对应的ip可以调用到对应服务。目前解决办法是重启saas。
请问遇到这情况的时候，该从哪些方面排查问题？</description>
		<content:encoded><![CDATA[<p>请教一下：<br />
docker swarm集群，用stack.yaml编排。手动添加overlay network。<br />
信息如下：<br />
# docker node ls<br />
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS<br />
8noy8hhvsy0gvp52afhl8vwan     node_08             Ready               Active              Reachable<br />
gphhyabemglnd73m8ioqtxyjg     node_09             Ready               Active<br />
p1bnas8j9048qsluvt0dilk60     node_07             Ready               Active              Leader<br />
utbrwuh14b22lj3f5h6iji81y *   node_04             Ready               Active              Reachable<br />
# docker stack services saas<br />
ID                  NAME                MODE                REPLICAS            IMAGE                                            PORTS<br />
19zhjcws7bqk        saas_sp_v1          replicated          1/1                 docker.hnjing.com:5000/saas/sp:1.12.11<br />
h2pfgpj24syj        saas_wo_v1          replicated          1/1                 docker.hnjing.com:5000/saas/wo:1.12.10<br />
以上服务都在basenet   overlay 网络中。<br />
# docker network ls|grep base<br />
uynivunza276        basenet             overlay             swarm<br />
这种情况下：开发在代码中调用不同的服务的时候，使用sp_v1、wo_v1等service name。<br />
大部分时间，这调用是正常的。有时候出现调用不通，手动测试使用sp_v1容器对应的ip可以调用到对应服务。目前解决办法是重启saas。<br />
请问遇到这情况的时候，该从哪些方面排查问题？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-1800</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Mon, 16 Jan 2017 13:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-1800</guid>
		<description>所谓的集群内就是指overlay网络。其他通信都走docker_gwbridge。至于能不能回来，一看是否在出去的iptables postrouting中做了MARSQUERADE；二看外面的网络是否有回本机的路由。</description>
		<content:encoded><![CDATA[<p>所谓的集群内就是指overlay网络。其他通信都走docker_gwbridge。至于能不能回来，一看是否在出去的iptables postrouting中做了MARSQUERADE；二看外面的网络是否有回本机的路由。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：woody</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-1797</link>
		<dc:creator>woody</dc:creator>
		<pubDate>Mon, 16 Jan 2017 08:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-1797</guid>
		<description>docker_gwbridge 是给集群外通信使用  那外部如果和集群内通信呢？ 还是只能出 不能进</description>
		<content:encoded><![CDATA[<p>docker_gwbridge 是给集群外通信使用  那外部如果和集群内通信呢？ 还是只能出 不能进</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-1778</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Wed, 04 Jan 2017 10:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-1778</guid>
		<description>1、文中docker的版本应该会在consul中记录overlay network的信息，供所有物理主机上docker共享读取；2、对。 3、我觉得在vxlan网络中，arp应该会泛洪。</description>
		<content:encoded><![CDATA[<p>1、文中docker的版本应该会在consul中记录overlay network的信息，供所有物理主机上docker共享读取；2、对。 3、我觉得在vxlan网络中，arp应该会泛洪。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：qiujch</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-1777</link>
		<dc:creator>qiujch</dc:creator>
		<pubDate>Wed, 04 Jan 2017 08:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-1777</guid>
		<description>请教一下：1、是否consul上有记录到每个docker所在的宿主机，以及该docker的网段对应的VXLAN ID？2、然后就根据上述的记录信息或“表”进行vxlan封装？3、如果环境中存在多个同网段的docker，arp请求也是会泛洪到每个宿主机上吗？</description>
		<content:encoded><![CDATA[<p>请教一下：1、是否consul上有记录到每个docker所在的宿主机，以及该docker的网段对应的VXLAN ID？2、然后就根据上述的记录信息或“表”进行vxlan封装？3、如果环境中存在多个同网段的docker，arp请求也是会泛洪到每个宿主机上吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：锅</title>
		<link>https://tonybai.com/2016/02/15/understanding-docker-multi-host-networking/#comment-1744</link>
		<dc:creator>锅</dc:creator>
		<pubDate>Tue, 13 Dec 2016 05:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1941#comment-1744</guid>
		<description>  </description>
		<content:encoded><![CDATA[]]></content:encoded>
	</item>
</channel>
</rss>
