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

Kosnik, Lubosz lubosz.kosnik at intel.com
Fri Aug 26 16:17:20 UTC 2016


Lubosz is my first name not Kosnik :P
You can create a VM from Horizon and only specify the floating IP to be exactly that one. With private networks it’s not available from Horizon.
About getting every time the next IP it’s normal thing. After getting the roof for that specified IP range it will start looking for free IPs from the beginning of the range.

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

On Aug 26, 2016, at 11:06 AM, William Josefsson <william.josefson at gmail.com<mailto:william.josefson at gmail.com>> wrote:

Hi Kosnik. thanks. Is there any way in the GUI for the user to do that, or they need to do cli 'neutron port-create ...' ?
Maybe I can pre-create the fixed IPs as admin, but how do a standard tenant user select the Ports just created ..  just as they select the Networks/Subnets during 'Launch an instance'?

I notice while provisioning that the IP number increments all the time, even if previous instances with lower IPs are deleted. What will happen eventually when I reach the last IP, will the lower number IPs be reused, or what would the behavior be? thx will



On Thu, Aug 25, 2016 at 10:58 PM, Kosnik, Lubosz <lubosz.kosnik at intel.com<mailto:lubosz.kosnik at intel.com>> wrote:
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/20160826/be2eb53f/attachment.html>


More information about the OpenStack-operators mailing list