Install macos without DHCP

hi,

Exist any way to set the ip manualy or something like that?
vm network configuration can only be done in the vm itself, since there's no os-independent way
when i need to reinstall because ask for internet connection and i dont have any DHCP server.
you can try running a dhcp server on a container, and assign an IP to the MAC address of the VM