<div dir="ltr"><div class="markdown-here-wrapper" id="markdown-here-wrapper-632473" style="font-size:1em;font-family:Helvetica,arial,freesans,clean,sans-serif;color:rgb(34,34,34);background-color:rgb(255,255,255);border:none;line-height:1.2">

<p style="margin:1em 0px">I am using: Folsom, nova-network, vlanManage, multi_host=ture</p>
<p style="margin:1em 0px">I want to know what's the package flow between the vms which located in the same physical machine.</p>
<p style="margin:1em 0px">Here is the typology. I want to know want happen if I ping 192.168.3.47 in vm7.</p>
<p style="margin:1em 0px">When the NAT is applied?</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;overflow:auto;margin:1em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">   |vm: fixed: 10.0.104.5, floating: 192.168.3.56|-----|vnet15|----|br104|----|vnet14|----| vm7: fixed: 10.0.104.6, floating: 192.168.3.57|</code></pre>


<p style="margin:1em 0px">if the net.bridge.bridge-nf-call-iptables=0, I can not see the NAT properly.  </p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;overflow:auto;margin:1em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">[root@openstack-node1 ~]# tcpdump -i vnet14 -l -ne icmp -v
tcpdump: WARNING: vnet14: no IPv4 address assigned
tcpdump: listening on vnet14, link-type EN10MB (Ethernet), capture size 65535 bytes
17:11:10.275818 fa:16:3e:3e:ab:8f > fa:16:3e:72:8f:b4, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
    10.0.104.6 > <a href="http://192.168.3.56">192.168.3.56</a>: ICMP echo request, id 31090, seq 1, length 64
17:11:10.277546 fa:16:3e:22:31:09 > fa:16:3e:3e:ab:8f, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 64703, offset 0, flags [none], proto ICMP (1), length 84)
    10.0.104.5 > <a href="http://10.0.104.6">10.0.104.6</a>: ICMP echo reply, id 31090, seq 1, length 64</code></pre>
<p style="margin:1em 0px">When net.bridge.bridge-nf-call-iptables=1, I found the NAT properly. But I also found it is said the bridge filter should be disabled in <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/network-troubleshooting.html" style="color:rgb(51,51,238);text-decoration:none">http://docs.openstack.org/trunk/openstack-compute/admin/content/network-troubleshooting.html</a>. Is this true?</p>


<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;overflow:auto;margin:1em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">
[root@openstack-node1 ~]# tcpdump -i vnet14 -l -ne icmp -v
tcpdump: WARNING: vnet14: no IPv4 address assigned
tcpdump: listening on vnet14, link-type EN10MB (Ethernet), capture size 65535 bytes
17:13:40.507577 fa:16:3e:3e:ab:8f > fa:16:3e:72:8f:b4, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
    10.0.104.6 > <a href="http://192.168.3.56">192.168.3.56</a>: ICMP echo request, id 42098, seq 1, length 64
17:13:40.508034 fa:16:3e:22:31:09 > fa:16:3e:3e:ab:8f, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 64704, offset 0, flags [none], proto ICMP (1), length 84)
    192.168.3.56 > <a href="http://10.0.104.6">10.0.104.6</a>: ICMP echo reply, id 42098, seq 1, length 64</code></pre>
</div><div><div style class="markdown-here-signature">-- </div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Lei Zhang</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br>

</span></div><div><font face="arial, sans-serif">Blog: <a href="http://jeffrey4l.github.com" target="_blank">http://jeffrey4l.github.com</a></font></div><div>twitter/weibo: @jeffrey4l</div>
</div></div>