<font><font face="arial,helvetica,sans-serif">Hirai,</font></font><div><font><font face="arial,helvetica,sans-serif">Thanks for your quick response. Currently I am using nova-network in VLAN model. Actually the real requirement is the user want to bind many subinterfaces on one NIC, and they want to connect the other server using every subinterface, so we can't want to create so many VLANs for one project.</font></font></div>

<div><div><div><span style="font-family:'courier new',monospace"><br></span></div><div><span style="font-family:'courier new',monospace">- Ray</span></div><font face="'courier new', monospace">Yours faithfully, Kind regards.<br>

<br>CIeNET Technologies (Beijing) Co., Ltd<br>Email: <a href="mailto:qsun01185@cienet.com.cn" target="_blank">qsun01185@cienet.com.cn</a></font><div><font face="'courier new', monospace">Office Phone: +86-01081470088-7079<br>

Mobile Phone: +86-13581988291</font></div></div>
<br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 8:37 PM, Tomokazu Hirai <span dir="ltr"><<a href="mailto:tomokazu.hirai@gmail.com" target="_blank">tomokazu.hirai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
Which network compornent do you use ? nova-network ? quantum ?<br>
<br>
If my perception is correct, you need to use quantum to have<br>
multiple nic on VM. When you create multiple subnet, VM will boot<br>
with multiple NICs and these VMs can take communicate with each<br>
others with each NICs.<br>
<br>
Best Regards,<br>
<br>
-- Tomokazu Hirai @jedipunkz<br>
<br>
From: Ray Sun <<a href="mailto:qsun01185@cienet.com.cn">qsun01185@cienet.com.cn</a>><br>
Subject: [Openstack] How to make the subinterface connection in a VLAN environment?<br>
Date: Mon, 14 Jan 2013 19:00:19 +0800<br>
<div class="im"><br>
> My OpenStack environment is running under traditional VLAN model.<br>
> Currently, I have two VMs which is running Ubuntu 12.04 server and their<br>
> Fixed IP is:<br>
><br>
> Host 1: eth0: 172.16.0.3<br>
> Host 2: eth0: 172.16.0.5<br>
><br>
> Then I add a subinterface to each VM like this:<br>
><br>
> Host 1: eth0:1 192.168.2.2<br>
> Host 2: eth0:1 192.168.2.3<br>
><br>
> My network configuration looks like:<br>
> auto eth0<br>
> iface eth0 inet dhcp<br>
><br>
> auto eth0:1<br>
> iface eth0:1 inet static<br>
</div>> address *192.168.2.3*<br>
<div class="im">> netmask 255.255.255.0<br>
><br>
> Also in the access & security I open icmp there, but I don't think this is<br>
> related to my issue. Then I try to run ping host2 from host1, and it works.<br>
><br>
> Then on Host1, I run:<br>
><br>
</div>> ping 172.16.0.5 -I 192.168.2.2 -> *NO RESPONSE*<br>
><br>
> ping 192.168.2.3 -> *Destination Host Unreachable*<br>
> *<br>
<div class="im">> *<br>
> I didn't modify the route table, and it looks like:<br>
> Kernel IP routing table<br>
> Destination     Gateway         Genmask         Flags Metric Ref    Use<br>
> Iface<br>
> default         172.16.0.4      0.0.0.0         UG    100    0        0 eth0<br>
> 172.16.0.0      *               255.255.255.0   U     0      0        0 eth0<br>
> 192.168.2.0     *               255.255.255.0   U     0      0        0 eth0<br>
><br>
> Anyone know how can I access the host2 through my subinterface? Thanks a<br>
> lot.<br>
><br>
><br>
> - Ray<br>
> Yours faithfully, Kind regards.<br>
><br>
> CIeNET Technologies (Beijing) Co., Ltd<br>
> Email: <a href="mailto:qsun01185@cienet.com.cn">qsun01185@cienet.com.cn</a><br>
> Office Phone: +86-01081470088-7079<br>
> Mobile Phone: <a href="tel:%2B86-13581988291" value="+8613581988291">+86-13581988291</a><br>
<br>
</div>_______________________________________________<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>
</blockquote></div><br></div>