The Windows 10/11 Default Switch allows you to share your network connection using a NAT switch and it automatically assigns addresses to your virtual machines, you cannot remove or manage DHCP on the default switch.
Much simpler to use an external vSwitch. When you create a new external vSwitch the internet protocols are removed from the adapter and the Hyper-V Extensible Switch protocol is added turning that physical port into a multi-port virtual switch. Connect your VMs to this vSwitch and use each VM's vEthernet to configure the addressing in the exact same manner as if it were a physical NIC
-
--please don't forget to upvote
and Accept as answer
if the reply is helpful--