Thanks Dan<br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 2:15 PM, Dan Wendlandt <span dir="ltr"><<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Oct 23, 2012 at 10:56 PM, livemoon <<a href="mailto:mwjpiero@gmail.com">mwjpiero@gmail.com</a>> wrote:<br>
> Dan:<br>
> Thank you for your help.<br>
> If the server have three nics, which one will be used as port of "br-int". I<br>
> must know how "br-int" work between two machines, and then I can make the<br>
> physical interface which "br-int" use to one switch<br>
<br>
</div>If you are using tunneling, the traffic will exit out the NIC based on<br>
your physical server's routing table and the destination IP of the<br>
tunnel.  For example, if your physical server is tunneling a packet to<br>
a VM on a physical server with IP W.X.Y.Z, the packet will leave<br>
whatever NIC has the route to reach W.X.Y.Z .<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
><br>
> On Wed, Oct 24, 2012 at 11:52 AM, Dan Wendlandt <<a href="mailto:dan@nicira.com">dan@nicira.com</a>> wrote:<br>
>><br>
>> all you need to do is create a bridge named "br-int", which is what<br>
>> the linux devices representing the vm nics will be plugged into.<br>
>><br>
>> since you are using tunneling, there is no need to create a br-ethX<br>
>> and add a physical interface to it.<br>
>><br>
>> dan<br>
>><br>
>> p.s. btw, your config looks like its using database polling, which is<br>
>> not preferred.  I'd suggest you use the default config, which uses RPC<br>
>> communication between agents and the main quantum-server process<br>
>><br>
>><br>
>> On Tue, Oct 23, 2012 at 8:44 PM, livemoon <<a href="mailto:mwjpiero@gmail.com">mwjpiero@gmail.com</a>> wrote:<br>
>> > I know in one node,vm can work well.<br>
>> > I want to know in multi nodes, do I need to create a br-ethX, and port<br>
>> > the<br>
>> > physical interface to it? how to do that in configuration?<br>
>> ><br>
>> > On Wed, Oct 24, 2012 at 11:36 AM, 刘家军 <<a href="mailto:iamljj@gmail.com">iamljj@gmail.com</a>> wrote:<br>
>> >><br>
>> >> you just need to create one or more networks and specify which network<br>
>> >> to<br>
>> >> use when booting vm.<br>
>> >><br>
>> >> 2012/10/24 livemoon <<a href="mailto:mwjpiero@gmail.com">mwjpiero@gmail.com</a>><br>
>> >>><br>
>> >>> Hi, I use quantum as network. A question is if there are multi nodes,<br>
>> >>> how<br>
>> >>> to config to make vms communicate with each other in the same subnet.<br>
>> >>><br>
>> >>> I use openvswitch as my plugin. And my setting is blow:<br>
>> >>><br>
>> >>> [DATABASE]<br>
>> >>> sql_connection = mysql://<a href="http://quantum:openstack@172.16.1.1:3306/quantum" target="_blank">quantum:openstack@172.16.1.1:3306/quantum</a><br>
>> >>> reconnect_interval = 2<br>
>> >>><br>
>> >>> [OVS]<br>
>> >>><br>
>> >>> tenant_network_type = gre<br>
>> >>> tunnel_id_ranges = 1:1000<br>
>> >>> integration_bridge = br-int<br>
>> >>> tunnel_bridge = br-tun<br>
>> >>> local_ip = 172.16.1.2<br>
>> >>><br>
>> >>> enable_tunneling = True<br>
>> >>><br>
>> >>><br>
>> >>> [AGENT]<br>
>> >>> polling_interval = 2<br>
>> >>> root_helper = sudo /usr/bin/quantum-rootwrap<br>
>> >>> /etc/quantum/rootwrap.conf<br>
>> >>><br>
>> >>> --<br>
>> >>> 非淡薄无以明志,非宁静无以致远<br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> >>> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>> >>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> >>> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
>> >>><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> 刘家军@ljjjustin<br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > 非淡薄无以明志,非宁静无以致远<br>
>> ><br>
>> > _______________________________________________<br>
>> > Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> > Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>> > Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> > More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
>> Dan Wendlandt<br>
>> Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br>
>> twitter: danwendlandt<br>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
><br>
><br>
><br>
><br>
> --<br>
> 非淡薄无以明志,非宁静无以致远<br>
<br>
<br>
<br>
--<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Dan Wendlandt<br>
Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br>
twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Blog Site: <a href="http://livemoon.org">livemoon.org</a></div><div>Twitter: mwjpiero</div><div>非淡薄无以明志,非宁静无以致远</div><br>