Manage IPs via nova-network

asked 2014-05-05 11:07:52 -0600

leonardo gravatar image

Hello everyone,

So I have setup two nodes where one is acting as a Controller and the second as a compute node using legacy nova-network (Flat DHCP). The nodes' management subnet is I configured the nova controller to use the subnet as my (fake) public IP addresses. However, I noticed the following;

1) When my VM boots up, is assigned to the DHCP server (dnsmasq) on my compute node and is assigned to my VM.
2) This would imply that if i start a second VM instance on a second SEPARATE compute host, and would get allocated to the second compute host. 3) This would mean that 4 'public' ip addresses are being used for two compue hosts.

Is there a way around this using the above setup by assigning the IP address to the VMs at nova boot without the DHCP getting involved at all?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-14 06:39:30 -0600

leonardo gravatar image

I found out the approach and that is by using the "v4-fixed-ip" variable while launching an instance.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-05 11:07:52 -0600

Seen: 107 times

Last updated: May 14 '14