<div dir="auto"><div>Hi Dan, on the physical  switch the 567 is not the native vlan but is tagged like 555 and 556.</div><div dir="auto">I know I could set 567 as a native vlan to receive it untagged.</div><div dir="auto">But if I would like more than one flat network ?</div><div dir="auto">I am not skilled in networking but I think only one native vlan can be set in switch.</div><div dir="auto">Any further solution or suggestion ?</div><div dir="auto">Regards</div><div dir="auto">Ignazio</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote">Il 19/Apr/2017 20:19, "Dan Sneddon" <<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On 04/19/2017 09:02 AM, Ignazio Cassano wrote:<br>
> Dear All,  in my openstack Newton installation compute e controllers<br>
> node have e separate management network nic and a lacp bond0 where<br>
> provider vlan (555,556) and flat vlan (567) are trunked.<br>
> Since I cannot specify the vlan id (567) when I create a flat network, I<br>
> need to know how I can create the bridge for flat network in openvswitch.<br>
> For providers network I created a bridge br-ex and added bond0 to that<br>
> bridge and configured openvswitch agent and ml2 for mapping br-ex.<br>
> I don't know what can I do for flat network : must I create another<br>
> bridge ? What interface I must add to the bridge for flat (567) network ?<br>
> I configured the same scenario with linuxbridge mechanism driver  and it<br>
> seems more easy to do.<br>
> Sorry for my bad english.<br>
> Regards<br>
> Ignazio<br>
<br>
</div>I assume that the VLAN 567 is the native (untagged) VLAN on the port in<br>
question? If that's so, you can do the following:<br>
<br>
Create two provider networks of "provider:network_type vlan", plus one<br>
provider network with "provider:network_type flat", with all three using<br>
the same physical network.<br>
<br>
<br>
neutron net-create --provider:physical_network datacentre \<br>
--provider:network_type vlan --provider:segmentation_id 555 \<br>
--shared <net-name1><br>
<br>
neutron net-create --provider:physical_network datacentre \<br>
--provider:network_type vlan --provider:segmentation_id 556 \<br>
--shared <net-name2><br>
<br>
neutron net-create --provider:physical_network datacentre \<br>
--provider:network_type flat --shared <net-name3><br>
<br>
<br>
Of course, remove shared if you don't want tenants directly attaching to<br>
any of the above networks, and add "--router:external" if any of these<br>
are to be used for SNAT/floating IP.<br>
<font color="#888888"><br>
--<br>
Dan Sneddon         |  Senior Principal Software Engineer<br>
<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a> |  <a href="http://redhat.com/openstack" rel="noreferrer" target="_blank">redhat.com/openstack</a><br>
dsneddon:irc        |  @dxs:twitter<br>
</font></blockquote></div><br></div></div></div>