Alex,<div><br></div><div>Only the private switch needs to support 802.1q, and you configure the name of the tags when you run nova-manage network create, by adding a fourth argument, usually a number that is your vlan tag.  For each network you create in one command, the number you give it is iterated by one, so if you do:</div>
<div><br></div><div>nova-manage network create <a href="http://10.0.1.0/24">10.0.1.0/24</a> 4 64 100</div><div><br></div><div>You'll end up with 4 database entries:</div><div><br></div><div>10.0.1.0 - 10.0.1.63 vlan: 100</div>
<div>10.0.1.64 - 10.0.1.127 vlan: 101</div><div>10.0.1.128 - 10.0.1.191 vlan: 102</div><div>10.0.1.192 - 10.0.1.254 vlan: 103</div><div><br></div><div>You can see them in the networks table of the nova database. (It's the 'vlan' column.)  They need to be unique, so if you have two networks with a vlan of 100 (because you ran nova-network twice without explicitly stating the vlan start), that's probably not going to work.</div>
<div><br></div><div>As I understand it, the vms are passed the vlan tag when they startup, and the network node knows about each customer's network, so it knows what to pay attention to tag-wise.</div><div><br><br><div class="gmail_quote">
On Mon, Jul 11, 2011 at 2:36 AM, tianyi wang <span dir="ltr"><<a href="mailto:alex-cloud@live.com">alex-cloud@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div><div dir="ltr">
Hi all:<br>
 <br>
    When use multi-node installation with vlan mode, the vlan configuration is in switch or in nova control node? And what's the vlan configuration process?<br>
 <br>
    I read this article : <a href="http://dodeeric.louvrex.net/?p=225" target="_blank">http://dodeeric.louvrex.net/?p=225</a><br>
 <br>
    ================begin====================<br>
In the VLAN network mode, each project is given a specific VLAN/subnet. We will configure three VLANs/subnets (feel free to create much more):<br>
<strong>- VLAN: 1 — Subnet: <a href="http://10.0.1.0/24" target="_blank">10.0.1.0/24</a> — Bridge name: br_vlan1:</strong><br><pre># nova-manage network create <a href="http://10.0.1.0/24" target="_blank">10.0.1.0/24</a> 1 256</pre>

<strong>- VLAN: 2 — Subnet: <a href="http://10.0.2.0/24" target="_blank">10.0.2.0/24</a> — Bridge name: br_vlan2:</strong><br><pre># nova-manage network create <a href="http://10.0.2.0/24" target="_blank">10.0.2.0/24</a> 1 256</pre>

<strong>- VLAN: 3 — Subnet: <a href="http://10.0.3.0/24" target="_blank">10.0.3.0/24</a> — Bridge name: br_vlan3:</strong><br><pre># nova-manage network create <a href="http://10.0.3.0/24" target="_blank">10.0.3.0/24</a> 1 256</pre>

    =================end===================<br>
 <br>
  It's seem like configure vlan in nova control node?<br>
 <br>
  If there are two switch: one is for public and another is for private, both public and private switch need support vlan 802.1q? Or just private switch is need support vlan 802.1q?<br>
 <br>
  thanks<br>
 <br>
alex<br>
 <br>                                       </div></div>
<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></blockquote></div><br><br clear="all"><br>-- <br>Jeff Kramer<br><a href="mailto:jeffkramer@gmail.com">jeffkramer@gmail.com</a><br><a href="http://www.jeffkramer.org/">http://www.jeffkramer.org/</a><br>
</div>