Ask Your Question
0

Is it possible to have vxlan and external flat networks? AKA Failed to bind port

asked 2016-05-20 03:06:21 -0700

flor3k gravatar image

updated 2016-05-20 03:07:55 -0700

I tested two scenarios:


1) tenant networks are VXLAN and there's external flat network for floatings.
The external network is mapped to physnet1:

neutron net-show extnet
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin
stateup | True |
| id | 4d635d50-58e7-49f8-b8e9-526a2ff0e983 |
| mtu | 0 |
| name | ext
net |
| portsecurityenabled | True |
| provider:networktype | flat |
| provider:physical
network | physnet1 |
| provider:segmentationid | |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | f9033aa2-10e8-476b-a3e5-381f93e3ee45 |
| tenant
id | 3297b6e5221c45aa8a1692a78cb10d0d |
+---------------------------+--------------------------------------+

The openvswitch on the compute is configured with providermappings="physnet1:INTERFACENAME" After spawning a VM and associating floating IP address I can ping the floating with no issues


2) tenant networks are VXLAN and I want to use external flat network as a network connected directly to the VM
I removed everything from 1) and recreated the external network and mappings. After that I spawned a VM with an interface in the external network. Unfortunately all I got is "Failed to bind port" in neutron server log file.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-20 06:44:33 -0700

medox gravatar image

One option is to set up a VXLAN tunnel between OVS bridges on the two hosts. Setup private networking between two hosts and two VMs with libvirt / openvswitch

edit flag offensive delete publish link more

Comments

Thanks! I'm looking for something different. I have a bunch of nodes with two interfaces. First - VXLAN tenant networks, second - flat external network. What I want to do is spawn a VM with interface directly connected to that external network. Using openstack.

flor3k ( 2016-05-23 00:44:17 -0700 )edit
Login/Signup to Answer

Stats

Asked: 2016-05-20 03:06:21 -0700

Seen: 118 times

Last updated: May 20 '16