[Openstack] How to support for multiple external networks?
José Riguera López
jriguera at gmail.com
Fri Nov 20 20:18:12 UTC 2015
If I understood you properly, I think you could have different ways to
* Use an external device (switch) to bridge VLAN and VXLAN
* Similar to the previous point, if you are using OVS as ML2 mech driver,
on the networks nodes you could setup the same logic there (br-ex bridge)
* Creating different L3 agents (one per VLXAN) and using
Anyway I have never tried VXLAN as external networks ...
2015-11-20 8:58 GMT+01:00 Amir Huskić <amir.huskic at gmail.com>:
> Hello Jose,
> is it possible to do it also with vxlan instead vlan? I would like to
> enable vxlan tunnel between tenants VMs (their external network) and
> another LAN vxlan segment.
> Thank you.
> On Thu, Nov 19, 2015 at 12:38 PM, José Riguera López <jriguera at gmail.com>
>> You can, just tell neutron you want to have another external network.
>> Lets say VLAN=300 is 192.168.66. <http://192.168.66.0/24>0/24
>> # Creating the external network type VLAN with VLAND ID == 300
>> # The name of the provider physical_network "ext" is mapped to a physical
>> # device on the ML2 configuration file of each network node
>> neutron net-create \
>> --provider:network_type vlan \
>> --provider:physical_network ext \
>> --router:external \
>> --provider:segmentation_id 300 \
>> # Define the IP range for floating IPs available on that network, the
>> # DNS nameservers and CIDR, and no DHCP (in this case)
>> neutron subnet-create \
>> --allocation-pool start=192.168.66. <http://192.168.66.0/24>10,end=1
>> 92.168.66. <http://192.168.66.0/24>255 \
>> --ip-version 4 \
>> --gateway 192.168.88.1 \
>> --disable-dhcp \
>> --dns-nameserver 18.104.22.168 \
>> --name ext_net_300_subnet \
>> ext_net_300 192.168.66. <http://192.168.66.0/24>0/24
>> Then the users will see 2 (or more) floating ip pools ...
>> 2015-11-19 11:18 GMT+01:00 Ray Sun <xiaoquqi at gmail.com>:
>>> I want to setup multiple external networks, but I don't know how to make
>>> this works.
>>> Here's my user requirements:
>>> There are two departments want to use my cloud, but as history problem,
>>> they wants their VMs to use original IP range. DepA wants to use floating
>>> ip in 192.168.66.0/24, DepB wants to use floating ip in 192.168.77.0/24.
>>> I can create multiple subnets in my external network. But I am not quite
>>> sure if this can work in OpenStack. In my network environment,
>>> 192.168.66.0/24 and 192.168.77.0/24 are two VLANs.
>>> Anybody know how to implement this kind of scenarios? If this is not
>>> possible, how can I design my architecture to meet the requirements.
>>> Best Regards
>>> -- Ray
>>> Mailing list:
>>> Post to : openstack at lists.openstack.org
>>> Unsubscribe :
>> José Riguera López <jriguera at gmail.com>
>> Mailing list:
>> Post to : openstack at lists.openstack.org
>> Unsubscribe :
José Riguera López <jriguera at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack