Ask Your Question
1

Is it possible to create multiple networks in FLATDHCP mode?

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

xuyang06 gravatar image

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

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

Comments

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 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

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

Sifty gravatar image

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

Nope - just tried to do it myself...

http://docs.openstack.org/developer/nova/api/nova.network.manager.html

The idea is to create a single network for the host with a command like: nova-manage network create 192.168.0.0/24 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
0

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

koolhead17 gravatar image
edit flag offensive delete link more

Comments

I think the documentation doesn't cover this topic.

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 474 times

Last updated: Sep 17 '13