[neutron] subnet policy for ip allocation
haleyb.dev at gmail.com
Thu Jun 11 19:03:41 UTC 2020
On 6/11/20 4:46 AM, Ruslanas Gžibovskis wrote:
> Hi team,
> I need that my IP addresses in subnet would not be allocated from the
> beginning, but it would go to the next IP compared to previous used:
> instance1 created: 22.214.171.124
> Instance2 created: 126.96.36.199
> instance1 deleted.
> instance2 deleted.
> Instance3 created: 188.8.131.52 (not 184.108.40.206 again)
> I remember have read about such, do not remember how to google it...
The Neutron IP allocator does not do sequential allocation any more, it
will choose randomly from a set of available IPs in the subnet. So the
odds of this happening are small, although not zero. The only way to
change this would be to write your own IPAM driver to do allocation in a
specific way if that is required.
More information about the openstack-discuss