<div dir="ltr"><div class="markdown-here-wrapper" id="markdown-here-wrapper-976759" 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">Directly, here is the issue I meet. 

</p>
<p style="margin:1em 0px">I start a all-in-one openstack Folsom with Quantum network( using linux bridge plugin)

</p>
<ul style="padding-left:2em;margin:1em 0px">
<li style="margin:1em 0px">First I can not ping outside of the host. Following is the network setting. I think this should be work. But I can ping 10.10.0.1(gate way) in the host</li>
<li style="margin:1em 0px">Second, what's the usage for <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">ns-1c37cab7-6b</code> <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">qg-82fef397-e1</code> <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">qg-82fef397-e1</code>, they are attached on nothing bridge. </li>


</ul>
<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">eth0: public Ethernet <a href="http://10.10.0.0/24
eth1">10.10.0.0/24
eth1</a>: private Ethernet <a href="http://192.168.101.0/24
eth2">192.168.101.0/24
eth2</a>: manage Ethernet <a href="http://10.12.0.0/24">10.12.0.0/24</a></code></pre>
<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@all-in-one ~]# brctl show
bridge name    bridge id        STP enabled    interfaces
brq3958ea96-9d        8000.080027f1f512    no        eth0
                            tap82fef397-e1
brq399d07f4-8c        8000.080027b61c6f    no        eth1.101
                            tap1c37cab7-6b
                            tap21afddbd-80
                            tap629410b3-2d</code></pre>
<p style="margin:1em 0px"><strong>Part of <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">ip link</code></strong>
</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@all-in-one ~]# ip link 

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:f1:f5:12 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:b6:1c:6f brd ff:ff:ff:ff:ff:ff
10: eth1.101@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether 08:00:27:b6:1c:6f brd ff:ff:ff:ff:ff:ff</code></pre>
<p style="margin:1em 0px"><strong> Part of <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">ip addr</code></strong>

</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@all-in-one instance-00000005]# ip a

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:f1:f5:12 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a00:27ff:fef1:f512/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:b6:1c:6f brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a00:27ff:feb6:1c6f/64 scope link 
       valid_lft forever preferred_lft forever
8: qr-21afddbd-80: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 22:af:8e:70:bf:43 brd ff:ff:ff:ff:ff:ff
    inet <a href="http://192.168.101.1/24">192.168.101.1/24</a> brd 192.168.101.255 scope global qr-21afddbd-80
    inet6 fe80::20af:8eff:fe70:bf43/64 scope link 
       valid_lft forever preferred_lft forever
10: eth1.101@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether 08:00:27:b6:1c:6f brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a00:27ff:feb6:1c6f/64 scope link 
       valid_lft forever preferred_lft forever
11: brq399d07f4-8c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether 08:00:27:b6:1c:6f brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a0ef:23ff:fe72:8085/64 scope link 
       valid_lft forever preferred_lft forever
12: qg-82fef397-e1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 42:de:03:55:d6:96 brd ff:ff:ff:ff:ff:ff
    inet <a href="http://10.10.0.2/24">10.10.0.2/24</a> brd 10.10.0.255 scope global qg-82fef397-e1
    inet6 fe80::40de:3ff:fe55:d696/64 scope link 
       valid_lft forever preferred_lft forever
14: brq3958ea96-9d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether 08:00:27:f1:f5:12 brd ff:ff:ff:ff:ff:ff
    inet <a href="http://10.10.0.200/24">10.10.0.200/24</a> brd 10.10.0.255 scope global brq3958ea96-9d
    inet6 fe80::b4a2:c5ff:fe8c:3b1c/64 scope link 
       valid_lft forever preferred_lft forever
15: ns-1c37cab7-6b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 2e:0d:c2:31:23:23 brd ff:ff:ff:ff:ff:ff
    inet <a href="http://192.168.101.2/24">192.168.101.2/24</a> brd 192.168.101.255 scope global ns-1c37cab7-6b
    inet6 fe80::2c0d:c2ff:fe31:2323/64 scope link 
       valid_lft forever preferred_lft forever</code></pre>
<p style="margin:1em 0px"><strong> <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">ip route</code> </strong>

</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@all-in-one instance-00000005]# ip r 
<a href="http://192.168.101.0/24">192.168.101.0/24</a> dev ns-1c37cab7-6b  proto kernel  scope link  src 192.168.101.2 
<a href="http://192.168.101.0/24">192.168.101.0/24</a> dev qr-21afddbd-80  proto kernel  scope link  src 192.168.101.1 
<a href="http://10.10.0.0/24">10.10.0.0/24</a> dev qg-82fef397-e1  proto kernel  scope link  src 10.10.0.2 
<a href="http://10.10.0.0/24">10.10.0.0/24</a> dev brq3958ea96-9d  proto kernel  scope link  src 10.10.0.200 
<a href="http://10.12.0.0/24">10.12.0.0/24</a> dev eth2  proto kernel  scope link  src 10.12.0.2 
<a href="http://169.254.0.0/16">169.254.0.0/16</a> dev eth1  scope link  metric 1003 
default via 10.10.0.1 dev brq3958ea96-9d  metric 100</code></pre>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 1:31 PM, Lei Zhang <span dir="ltr"><<a href="mailto:zhang.lei.fly@gmail.com" target="_blank">zhang.lei.fly@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, <div>I am learning the Quantum project. But I am confused about the whole</div><div>architecture. Is there any article to explain how the package flow in the </div>

<div>network model, which will help me to debug the network issue.</div>
<div>For example, how the ping package flow from the VMs to the external internet? <span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><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>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><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>