[neutron] subnet policy for ip allocation
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: 188.8.131.52
> Instance2 created: 184.108.40.206
> instance1 deleted.
> instance2 deleted.
> Instance3 created: 220.127.116.11 (not 18.104.22.168 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.