<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>If I'm not mistaken, the ip is assigned to the neutron port, and that is assigned to the vm. As long as the instance doesn't get blown away and rebuilt with a different neutron port you won't be at risk of losing the ip. <br><br>Sent from my iPhone</div><div><br>On Aug 27, 2016, at 3:23 AM, William Josefsson <<a href="mailto:william.josefson@gmail.com">william.josefson@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">thanks <span style="font-size:12.8px">Lubosz! I should explore further if floating IPs will help here. </span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Can you also please clarify if VM IP is stored in the DB the IPs that have been assigned to a VM so there should be no risk of the dhcp giving it a new IP suddenly? That would cause a nightmare with real tenants soon coming onboard my deploy. I know there are some dnsmasq dhcp files in /var/lib/neutron/ on my Networking nodes, but what if I replace one of them with a fresh install, will the necessary vm details such as IP etc. be retrieved from the DB? thx will</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 27, 2016 at 12:17 AM, Kosnik, Lubosz <span dir="ltr"><<a href="mailto:lubosz.kosnik@intel.com" target="_blank">lubosz.kosnik@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Lubosz is my first name not Kosnik :P
<div>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.</div>
<div>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.</div>
<div><br>
</div>
<div><span class="">Cheers,<br>
<div>
<div>
<div>Lubosz Kosnik</div>
<div>Cloud Software Engineer OSIC</div>
<div><a href="mailto:lubosz.kosnik@intel.com" target="_blank">lubosz.kosnik@intel.com</a></div>
</div>
</div>
<br>
</span><div><div class="h5"><div>
<blockquote type="cite">
<div>On Aug 26, 2016, at 11:06 AM, William Josefsson <<a href="mailto:william.josefson@gmail.com" target="_blank">william.josefson@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">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 ...' ?
<div>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'?</div>
<div><br>
</div>
<div>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</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 25, 2016 at 10:58 PM, Kosnik, Lubosz <span dir="ltr">
<<a href="mailto:lubosz.kosnik@intel.com" target="_blank">lubosz.kosnik@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">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.
<div><br>
</div>
<div>Cheers,<br>
<div>
<div>
<div>
<div>Lubosz Kosnik</div>
<div>Cloud Software Engineer OSIC</div>
<div><a href="mailto:lubosz.kosnik@intel.com" target="_blank">lubosz.kosnik@intel.com</a></div>
</div>
</div>
<br>
<div>
<blockquote type="cite">
<div>
<div>
<div>On Aug 25, 2016, at 9:01 AM, William Josefsson <<a href="mailto:william.josefson@gmail.com" target="_blank">william.josefson@gmail.com</a>> wrote:</div>
<br>
</div>
</div>
<div>
<div>
<div>
<div dir="ltr">Hi,<br>
<br>
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.<br>
<br>
<div>I know nova boot from the CLI or API has <b>v4-fixed-ip=ip-addr</b> option, however is there any way in the Dashboard where the User can select static IP?
<div><br>
</div>
<div>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</div>
</div>
</div>
</div>
</div>
______________________________<wbr>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.open<wbr>stack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-operators</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</div>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OpenStack-operators mailing list</span><br><span><a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a></span><br><span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></span><br></div></blockquote></body></html>