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 to, error occures with follow messages.

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

Start IP address is
Used IP addresses list doesn’t have192.168.0.254 and, but 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?