<div dir="ltr"><div>Hi, <br></div><div>I am using openvswitch too.</div><div><br></div><div>I have those parameters configured as your example, packstack does it for me, but I dont't get what do you mean with "a completely unconfigured interface for VLANS", do you mean that my "/etc/sysconfig/network-scripts/ifcfg-eno1" (for Centos and eno1 is the NIC which is connected to VLAN enabled switch) should be empty?</div><div><br></div><div>I haven't configured eno1 at all and after deploying OpenStack with packstack I have the following content on <br></div><div><br></div><div>/etc/sysconfig/network-scripts/ifcfg-eno1</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>DEVICE=eno1<br>NAME=eno1<br>DEVICETYPE=ovs<br>TYPE=OVSPort<br>OVS_BRIDGE=br-ex1<br>ONBOOT=yes<br>BOOTPROTO=none<br></div></blockquote><div><br></div><div>and /etc/sysconfig/network-scripts/ifcfg-br-ex1</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>ONBOOT=yes<br>PEERDNS=no<br>NM_CONTROLLED=no<br>NOZEROCONF=yes<br>DEVICE=br-ex1<br>NAME=br-ex1<br>DEVICETYPE=ovs<br>OVSBOOTPROTO=none<br>TYPE=OVSBridge<br>OVS_EXTRA="set bridge br-ex1 fail_mode=standalone"<br></div></blockquote><div><br></div><div><br></div><div>my routing table is:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>0.0.0.0         192.168.15.254  0.0.0.0         UG    0      0        0 br-ex<br>169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eno3<br>169.254.0.0     0.0.0.0         255.255.0.0     U     1004   0        0 eno1<br>169.254.0.0     0.0.0.0         255.255.0.0     U     1005   0        0 eno2<br>169.254.0.0     0.0.0.0         255.255.0.0     U     1043   0        0 br-ex<br>192.168.15.0    0.0.0.0         255.255.255.0   U     0      0        0 br-ex<br></div></blockquote><div><br></div><div>Felipe<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 2, 2022 at 4:49 PM <<a href="mailto:DHilsbos@performair.com">DHilsbos@performair.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Felipe;<br>
<br>
A lot of this will depend on how you have Neutron configured.  We use OpenVSwitch.  For OpenVSwitch you want a completely unconfigured interface, for VLANs.<br>
<br>
If you haven't looked at Server World's tutorial for OpenStack, I would suggest you do so.  They can be found here:<br>
<a href="https://www.server-world.info/en/note?os=Ubuntu_20.04&p=openstack_xena2&f=6" rel="noreferrer" target="_blank">https://www.server-world.info/en/note?os=Ubuntu_20.04&p=openstack_xena2&f=6</a><br>
<a href="https://www.server-world.info/en/note?os=CentOS_Stream_8&p=openstack_xena2&f=6" rel="noreferrer" target="_blank">https://www.server-world.info/en/note?os=CentOS_Stream_8&p=openstack_xena2&f=6</a><br>
<br>
Pay particular attention to the names br-eth1 and physnet1, and where and how they are used.  You are likely going to need to reference the "Configure Neutron #2" page from the tutorial to understand the whole configuration, as these assume #1 and #2 have been completed (#1 walks through how to setup the support services).<br>
<br>
The tutorials are for VXLAN, but are modifiable to be VLAN.<br>
<br>
In particular;<br>
[ml2_type_vxlan]<br>
vni_ranges = 1:1000<br>
<br>
becomes:<br>
[ml2_type_vlan]<br>
network_vlan_ranges = physnet1:1:1000<br>
<br>
For you, I believe that last line would be:<br>
network_vlan_ranges = physnet1:684:684<br>
<br>
What I can't help you with is how this interacts with PackStack.<br>
<br>
Thank you,<br>
<br>
Dominic L. Hilsbos, MBA<br>
Vice President – Information Technology<br>
Perform Air International Inc.<br>
DHilsbos@PerformAir.com<br>
<a href="http://www.PerformAir.com" rel="noreferrer" target="_blank">www.PerformAir.com</a><br>
<br>
<br>
<br>
From: Felipe Mogollon [mailto:<a href="mailto:fmogollon@vicomtech.org" target="_blank">fmogollon@vicomtech.org</a>] <br>
Sent: Wednesday, February 2, 2022 12:44 AM<br>
To: Dominic Hilsbos<br>
Subject: Re: Openstack VLAN provider Network<br>
<br>
Do you mean to remove only ip address from VLAN's eth configuration or removing all VLAN's eth configuration?<br>
<br>
Thanks<br>
<br>
Felipe<br>
<br>
On Wed, Feb 2, 2022 at 12:21 AM <<a href="mailto:DHilsbos@performair.com" target="_blank">DHilsbos@performair.com</a>> wrote:<br>
Felipe;<br>
<br>
I had significant problems with this as well, when I was first setting up our cluster.<br>
<br>
The first thing to recognize is that the network type is from the stand point of the host (more specifically from the network services host, and the neutron compute hosts), not the network itself.  Your VLAN network is actually a physical network (from the standpoint of the host), because it is bound to a physical interface.<br>
<br>
If you want to actually use it as a vlan type; a) remove the IP address(es) from the interface(s) of the network and compute host(s), and b) properly configure ml2, or an equivalent plugin.<br>
<br>
Thank you,<br>
<br>
Dominic L. Hilsbos, MBA<br>
Vice President – Information Technology<br>
Perform Air International Inc.<br>
DHilsbos@PerformAir.com<br>
<a href="http://www.PerformAir.com" rel="noreferrer" target="_blank">www.PerformAir.com</a><br>
<br>
<br>
From: Felipe Mogollon [mailto:<a href="mailto:fmogollon@vicomtech.org" target="_blank">fmogollon@vicomtech.org</a>] <br>
Sent: Tuesday, February 1, 2022 7:49 AM<br>
To: openstack-discuss<br>
Subject: Openstack VLAN provider Network<br>
<br>
I have deployed an OpenStack Victoria using packstack in a Centos 8 Stream machine.<br>
I have 3 NIC interfaces that are configured in the following way<br>
eno1 -> VLAN 684 <a href="http://10.15.0.0/16" rel="noreferrer" target="_blank">10.15.0.0/16</a> <br>
eno2 -> local network <a href="http://192.168.235.0/24" rel="noreferrer" target="_blank">192.168.235.0/24</a><br>
eno3 -> local network <a href="http://192.168.15.0/24" rel="noreferrer" target="_blank">192.168.15.0/24</a><br>
VLAN and local networks are working fine outside Openstack.<br>
I have deployed Openstack using packstack and local networks work fine and I can deploy instances inside openstack that get floating ips from those ranges without problem and I can ping to them.<br>
The problem is with VLAN network, I can deploy instances and I get floating ips from VLAN network range but I can't ping them.<br>
My packstack answer file is <a href="https://pastebin.com/GEqspMWu" rel="noreferrer" target="_blank">https://pastebin.com/GEqspMWu</a><br>
I have created VLAN network using following commands:<br>
neutron net-create vlan_network --provider:network_type vlan --provider:physical_network vlan  --router:external=True --shared --provider:segmentation_id=684<br>
<br>
neutron subnet-create --name vlan_subnet --enable_dhcp=False --allocation-pool=start=10.15.11.103,end=10.15.11.113 --gateway=10.15.11.1 vlan_network <a href="http://10.15.11.0/24" rel="noreferrer" target="_blank">10.15.11.0/24</a><br>
Any ideas?<br>
<br>
<br>
-- <br>
<br>
<br>
Juan Felipe Mogollón Rodríguez<br>
Researcher | Investigador<br>
<br>
<a href="mailto:fmogollon@vicomtech.org" target="_blank">fmogollon@vicomtech.org</a><br>
+[34] 943 30 92 30<br>
Digital Media<br>
<br>
  <br>
<br>
member of: <br>
<br>
La información que contiene este mensaje y sus adjuntos son confidenciales y están dirigidos exclusivamente a sus destinatarios. Si recibe este mensaje por error, se ruega nos lo comunique y proceda a su borrado.<br>
<br>
The information contained in this electronic message is intended only for the personal and confidential use of the recipients designated in the original message. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. <br>
</blockquote></div>