Is it possible to create multiple networks in FLATDHCP mode?

asked 2013-06-12 10:03:53 -0600

xuyang06 gravatar image

updated 2013-07-26 17:20:04 -0600

smaffulli gravatar image

Hi, I have a question regarding Openstack Nova Network FLATDHCP mode.

Based on my understanding, FLATDHCP means that first I will create one flat network for all the tenants. Each compute node will have only one virtual bridge. And once one VM boots, it will get one private IP from this flat network and the VM will be connected to that virtual bridge.

So my question is that is it possible that we can create multiple network in FLATDHCP mode so that in the same compute node, VMs could get private IPs from different networks and are connected to different virtual bridges?

Thanks a lot. I appreciate your help.

edit retag flag offensive close merge delete


I think it is possible. Just create another network, and specify a different bridge. The bridge should be created by nova-network. Depending on multi-host ness, you will need to create the bridges on the compute nodes, and connect those bridges together.

mate-lakat gravatar imagemate-lakat ( 2013-09-03 12:36:28 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2013-08-12 15:28:05 -0600

koolhead17 gravatar image
edit flag offensive delete link more


I think the documentation doesn't cover this topic.

mate-lakat gravatar imagemate-lakat ( 2013-09-03 12:36:30 -0600 )edit

answered 2013-09-17 07:36:47 -0600

Sifty gravatar image

updated 2013-09-17 07:54:20 -0600

Nope - just tried to do it myself...

The idea is to create a single network for the host with a command like: nova-manage network create 1 256. Creating multiple networks for for one manager is currently not supported, but could be added by modifying allocate_fixed_ip and get_network to get the network with new logic. Arbitrary lists of addresses in a single network can be accomplished with manual db editing.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-06-12 10:03:53 -0600

Seen: 573 times

Last updated: Sep 17 '13