Re: [openstack-dev] [neutron] static IP & DHCP

2014-08-28 Thread Jaume Devesa
Hello Sanjivini,

How are trying to do it? Creating a port with static ip:

$ neutron port-create --fixed-ip
subnet_id=,ip_address=10.0.0.100 

and then deploy a vm with this port, should work:

$ nova boot --flavor 1 --image  --nic port-id=
test_vm

Please note that this is an usage question and this is the development
list. Can you please send the mail to *openst...@lists.openstack.org
* next time?



On 27 August 2014 15:49, Sanjivini Naikar 
wrote:

>  Hi,
>
> I want to assign static IP to my instance. However, when trying to do so,
> the IP doesnt get associated with the VM. My VM boot logs show:
>
> Sending discover...
> Sending discover...
> Sending discover...
> No lease, failing
>
> WARN: /etc/rc3.d/S40-network failed
>
> How do I assign a static IP to my VM?
>
>
> Regards,
> Sanjivini Naikar
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Jaume Devesa
Software Engineer at Midokura
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [neutron] static IP & DHCP

2014-08-27 Thread Sanjivini Naikar
Hi,

I want to assign static IP to my instance. However, when trying to do so, the 
IP doesnt get associated with the VM. My VM boot logs show:

Sending discover...
Sending discover...
Sending discover...
No lease, failing

WARN: /etc/rc3.d/S40-network failed

How do I assign a static IP to my VM?


Regards,
Sanjivini Naikar
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev