Macvlan incorrect ip assignment

i need help BAD.
When setting up macvlan im having issues with docker assigning ip below specified range.
as example i have subnet of
gatewat of
i set ip range to expecting 16 addresses that start at
docker assigns

help i have set up through docker network create and portainer with same outcome

everyone reading this isnt gonna try and help? can someone at least tell me if they are having same issue or something? starting to thing docker is trash. and the community

Your expectation is not correct. The ip in your cidr range is not the starting ip, it could have been any ip between and and you would still have the same ip range.

Here is a translation of the ip representation to bit representation: = 00001010.00000001.00000001.0011 0000 (ip range marked in bold). = 00001010.00000001.00000001.0011 0010 (ip range marked in bold). = 00001010.00000001.00000001.0011 1111 (ip range marked in bold).

Using a subnet calculator helps to get a clearer look on this: