<div dir="ltr">Great!<div>Thanks Martinx. </div><div>I have another question. I want to use Float IP with this vlan mode. </div><div>How I config at ML2 plugin? </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-08-17 4:48 GMT+07:00 Martinx - ジェームズ <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Nahn,<div><br></div><div>I'm using IceHouse with Ubuntu 14.04.1, topology "VLAN Provider Networks", like this:</div><div><br></div><div>ml2_conf.ini:</div><div>---</div><div><div>[ml2]</div>



<div>
type_drivers = vlan</div><div>tenant_network_types = vlan<br></div><div>mechanism_drivers = openvswitch<br></div><div><br></div><div>[ml2_type_flat]</div><div><br></div><div>[ml2_type_vlan]</div><div># "vm network" - tag range, from 200 to 400</div>




<div>network_vlan_ranges = physnet1:200:400</div><div><br></div><div>[ml2_type_gre]</div><div><br></div><div>[ml2_type_vxlan]</div><div><br></div><div>[securitygroup]</div><div>enable_security_group = True</div><div>firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</div>




<div><br></div><div>[ovs]</div><div>enable_tunneling = False</div><div>tenant_network_type = vlan</div><div>integration_bridge = br-int</div><div>network_vlan_ranges = physnet1:200:400</div><div>bridge_mappings = physnet1:br-eth1</div>




</div><div>---</div><div><br></div><div>Network and Compute Nodes OVS bridges ("vm network" VLAN(s), tagged on physical switch ports, wired to eth1 of each server - sever's eth0 is the management net, used by VNC consoles, glance, apt-get of servers itself, etc):</div>



<div>---<br></div><div><div>ovs-vsctl add-br br-int</div><div>ovs-vsctl add-br br-eth1</div>
<div>ovs-vsctl add-port br-eth1 eth1</div><div><br></div><div># net-node only:</div><div>ovs-vsctl add-br br-ex<br></div></div><div>---</div><div><br></div><div>-----</div><div><div><br></div><div>Creating (controller) the Tenant Neutron Network(s) with tag VLAN200, VLAN201...:</div>




</div><div><br></div><div>neutron net-create --tenant-id $TENANT_ID_0 --provider:physical_network=physnet1 --provider:network_type=vlan --provider:segmentation_id=200 physnet1-vlan200</div><div>neutron net-create --tenant-id $TENANT_ID_1 --provider:physical_network=physnet1 --provider:network_type=vlan --provider:segmentation_id=201 physnet1-vlan201<br>




</div><div><br></div><div>This way, your instances (vm) network might be <a href="http://10.2.21.0/24" target="_blank">10.2.21.0/24</a> (vlan200), and your office (<a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a> vlan150?), then, they will talk easily, if you have 1 gateway for both vlan150 (office) and vlan200-400 (OpenStack Instances Network - VM).</div>




<div><br></div><div>This topology does not use Neutron L3 Router. You'll need an upstream router(s) routing the traffic for all VLANs.</div><div><br></div><div>Hope it helps!</div><div><br></div><div>Cheers!</div><div>




Thiago</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 14 August 2014 14:00, Nhan Cao <span dir="ltr"><<a href="mailto:nhanct92@gmail.com" target="_blank">nhanct92@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi <div>I have to network:</div><div>vm network: <a href="http://10.2.21.0/24" target="_blank">10.2.21.0/24</a> </div>



<div>exist VLAN network: <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a></div><div>I want to connect from my VM network to physic VLAN network. <br>
</div><div>How i config to connect?<br></div><div><br></div><div>Thanks :)</div><div><br></div></div>
<br></div></div><div class="">_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></div></blockquote></div><br></div></div>
</blockquote></div><br></div>