[Openstack] assign fix ip to instance

Satish Patel satish.txt at gmail.com
Wed Dec 16 21:19:58 UTC 2015


Thanks jason!!

On Wed, Dec 16, 2015 at 11:57 AM, Jason Smith <jason at smithss.org> wrote:
> Hello,
>
> When booting an instance you can assign the IP with v4-fixed-ip=<IP ADDRESS>
>
> Below is an example.
>
> $ nova boot --nic
> net-id=3ff9b903-e921-4752-a26f-cba8f1433992,v4-fixed-ip=10.0.0.30 \
>   --image centos-6-cloud --key-name lars --flavor m1.small test0
>
> Thanks,
> -js
>
> -- Typo’s courtesy of Apple --
>
> On December 16, 2015 at 8:50:28 AM, satish patel (satish.txt at gmail.com)
> wrote:
>>
>> Hello,
>>
>> does it possible assign IP when build VM? We have flat network setup
>> with DHCP=false, but i have created start/end IP range so openstack
>> assign IP when VM start.
>>
>> Yesterday one of my application crash and i was planing to rebuild VM
>> with new OS, but problem is how do i assign existing IP? that IP is
>> configured in all firewall,DNS, SSH key list etc.. it is total mess if
>> i change IP :(
>>
>> can i grab old IP for that instance or just reserve that IP for that VM?
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




More information about the Openstack mailing list