How to shrink Dynamic Range?

I use maas-dhcp for allocating IP address to BMC.

The Subnet to which Dynamic Range belong has BMC address with sticky type in used IP addresses.
I changed end IP address from 192.168.0.254 to 192.168.0.253, error occures with follow messages.

  **Error:** Requested dynamic range conflicts with an existing IP address or range.


Start IP address is 192.168.0.128.
Used IP addresses list doesn’t have192.168.0.254 and 192.168.0.253, but 192.168.0.130 whose BMC.

I want to shrink unused ip address space, is this possible?

Hi @sugaf1204 ,

could you please run the following queries on your database

select * from maasserver_iprange;
select * from maasserver_staticipaddress where text(ip) LIKE '192.168.0.%';

and paste the result?