Ask Your Question

how to assign fixed ip to instance after its creation

asked 2014-08-20 10:05:27 -0600

dsingha gravatar image


I have installed open stack and created one instance. Now i want to assign fixed ip to it. Since I have only few IP's available so want to assign it explicitly instead of creating instance itself.

Basically anyway to assign non-contiguous ip to instances.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-20 10:21:12 -0600

SGPJ gravatar image

updated 2014-08-21 04:09:17 -0600

while creating public/ private subnet, what ever the IP available you can mention in dhcp pool. so when you launch new vm or assigning new floating ip you will get it.

image description

edit flag offensive delete link more


Can you please tell how to add in dhcp pool..any command to run on openstack shell?

There is a command to create network Nova network-create But then when using this command does not give me expected output. Eg , if ip range is given then it is assigning network range as But I want only 2 ip to be in fixed range.

dsingha gravatar imagedsingha ( 2014-08-20 12:32:57 -0600 )edit

@dsingha you can create using dashboard while creating public subnet. I had only 3 free IP and I gave in above, so for every new VM I assigned the 1 of the 3 IP.

SGPJ gravatar imageSGPJ ( 2014-08-21 04:08:24 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-20 10:05:27 -0600

Seen: 390 times

Last updated: Aug 21 '14