[Openstack] How to give an Ip address to an instance (Not through DHCP)

严超 yanchao727 at gmail.com
Tue Feb 3 23:55:41 UTC 2015


Girija is right, if you are not allowing dhcp.
On Feb 4, 2015 12:46 AM, "Girija Sharan" <girijasharansingh at gmail.com>
wrote:

> Hi Masoom,
>
> One way to assign IP address of your choice to your VM would be to create
> a Neutron port first and
> then while launching VM just pass this port to it.
> Changing IP after logging into the VM would not work as this IP has been
> assigned to the neutron port associated with that VM.
>
> Thanks,
> Girija Sharan Singh
>
> On Tue, Feb 3, 2015 at 3:22 PM, 严超 <yanchao727 at gmail.com> wrote:
>
>> Of course, you can ssh  into the machine and changing the network
>> settings.
>> Or you can simply write a Heat template to give an Ip address to an
>> instance in the first place.
>>
>> *Best Regards!*
>>
>>
>> *Chao Yan--------------**My twitter:Andy Yan @yanchao727
>> <https://twitter.com/yanchao727>*
>>
>>
>> *My Weibo:http://weibo.com/herewearenow
>> <http://weibo.com/herewearenow>--------------*
>>
>> 2015-02-03 17:00 GMT+08:00 masoom alam <masoom.alam at wanclouds.net>:
>>
>>> Hi Folks,
>>>
>>> How to give an Ip address to an instance cirros (Not through DHCP)
>>>
>>> may be logging in the machine and changing the network settings?
>>>
>>> Thanks
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150204/132074d4/attachment.html>


More information about the Openstack mailing list