Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

VMs dhcp requests getting public IP instead of private

I've installed an all-in-one devstack from master. Everything seems to be working, however, after the first instance is deployed, all of the following instances get an IP address in the public range instead of the internal private subnet. My deployment is on a VM using NAT networking with the ip configured to 192.168.157.10.
I have the local.conf file with the following

HOST_IP=192.168.157.10
FIXED_RANGE=10.0.0.0/24

This is what the 1st instance log shows...

Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending select for 10.0.0.2...
Lease of 10.0.0.2 obtained, lease time 86400

This is what the 2nd and all following instance logs show... Starting network...

udhcpc (v1.20.1) started
Sending discover...
Sending select for 10.0.0.7...
Received DHCP NAK
Usage: /sbin/cirros-dhcpc <up|down>
Sending discover...
Sending select for 192.168.157.203...
Lease of 192.168.157.203 obtained, lease time 433800

Please let me know if there is something I have done wrong or is missing, and if you need more details please just ask. I've been trying to resolve this issue for days. Thank you in advance.