[Openstack-operators] Neutron Allow tenants to select Fixed VM IPs

Kosnik, Lubosz lubosz.kosnik at intel.com
Thu Aug 25 14:58:15 UTC 2016


VM always will get the same IP from DHCP server. To prepare the VM with fixed IP you need using neutron create a port in specified network with specified IP and after that to boot new VM you’re specifying not net-id but port-id and it’s gonna work.

Cheers,
Lubosz Kosnik
Cloud Software Engineer OSIC
lubosz.kosnik at intel.com<mailto:lubosz.kosnik at intel.com>

On Aug 25, 2016, at 9:01 AM, William Josefsson <william.josefson at gmail.com<mailto:william.josefson at gmail.com>> wrote:

Hi,

I wonder if there's any way of allowing my users to select fixed IPs for the VMs? I do shared Provider networks, VLAN on Liberty/CentOS.

I know nova boot from the CLI or API has v4-fixed-ip=ip-addr option, however is there any way in the Dashboard where the User can select static IP?

I would also appreciate if anyone can explain the default dnsmasq dhcpd lease. Will a VM always get the same IP during it's life time, or it may change? thx will
_______________________________________________
OpenStack-operators mailing list
OpenStack-operators at lists.openstack.org<mailto:OpenStack-operators at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160825/2fe08d75/attachment.html>


More information about the OpenStack-operators mailing list