Manage IPs via nova-network
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 192.168.0.1/24. I configured the nova controller to use the subnet 10.0.0.0/24 as my (fake) public IP addresses. However, I noticed the following;
1) When my VM boots up, 10.0.0.1 is assigned to the DHCP server (dnsmasq) on my compute node and 10.0.0.2 is assigned to my VM.
2) This would imply that if i start a second VM instance on a second SEPARATE compute host, 10.0.0.3 and 10.0.0.4 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?