Ask Your Question
0

Can VM Instances obtain IP from DHCP running on my router

asked 2014-05-04 15:55:31 -0500

niteshadw gravatar image

updated 2014-05-04 16:37:20 -0500

Hello,

I am very new to OpenStack. I am hoping someone can guide me to the correct configuration.

I have a home LAN 192.168.1.0/24, the router is 192.168.1.1 and my CentOS server is on 192.168.1.10. I installed RDO OpenStack (all-in-one) on the server. I used 192.168.1.100 as the host IP for OpenStack.

I am hoping I can create instances that can obtain DHCP IP from my router. Is it possible?

Do I need to edit br-ex to use eth0? Do I even need neuron running for what I am trying to achieve since I don't really need/want to setup a private subnet specific to OpenStack environment.

My ultimate goal is to PXE boot a filesystem and be able to communicate with any device on my LAN.

I would greatly appreciate any help!

edit retag flag offensive close merge delete

Comments

I can hardly understand what for you installed AIO (RDO Havana or IceHouse , not clear). Packstack configure Neutron L2, L3 Layers, which ones you actually don't want. Seems like you need to manage a lot of VMs been able to communicate with any device on your LAN. I believe oVirt 3.3.4 would better suite your requirements then Openstack AIO (!!) setup. Link here. oVirt is supposed to manage multiple VMs across GlusterFS cluster and flat networking is acceptable. You may also view oVirt and RDO slides. My very personal advice:-
before moving ahead with Openstack to get some knowledge of oVirt 3.3.X provided and supported by same RH

dbaxps gravatar imagedbaxps ( 2014-05-04 22:59:56 -0500 )edit

Thanks for the replies.

What I am trying to achieve is basically be able to spawn VMs utilizing multiple servers in the background. I was hoping to either PXE boot file systems hosted on a PXE server which is located on the "external" lan, or just create a VDI image (or other) of the filesystem and just spawn the VMs. I thought openstack was the way to go since it gave a "control panel" and you allows to allocate pools of resources from different pieces of hardware (ie: install nova compute on different servers).

With openstack I was able to setup a local LAN, and an "external" LAN connected via virtual router provided by openstack. So on the local side I have DHCP giving out IPs and on the external side I allocated floating IPs. I created a PXE ISO image and I was able to edit the gPXE menu ...(more)

niteshadw gravatar imageniteshadw ( 2014-05-09 13:54:55 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-09 08:28:42 -0500

DanIzack gravatar image

Per http://docs.openstack.org/havana/inst...
you can run flat dhcp network with neutron, but

You hope  create instances that can obtain DHCP IP from your router. Is it possible?

I think it's not possible , per mentioned manual

Runs Networking L2 agent and the DHCP agent. The DHCP agent allocates IP addresses to the VMs on the network. The node must have at least two network interfaces. The first communicates with the controller node through the management network. The second interface handles the VM traffic on the data network.
edit flag offensive delete link more

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

1 follower

Stats

Asked: 2014-05-04 15:55:31 -0500

Seen: 864 times

Last updated: May 09 '14