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

Jaume Devesa devvesa at gmail.com
Thu Aug 28 14:14:35 UTC 2014

Hello Sanjivini,

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

$ neutron port-create --fixed-ip
subnet_id=<subnet_id>,ip_address= <net_id>

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

$ nova boot --flavor 1 --image <image_id> --nic port-id=<created_port_id>

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

On 27 August 2014 15:49, Sanjivini Naikar <sanjivininaikar at tataelxsi.co.in>

>  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 at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Jaume Devesa
Software Engineer at Midokura
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140828/af8d3d81/attachment.html>

More information about the OpenStack-dev mailing list