How to migrate physical server to VMware VM
follow the steps:
ensure, that at least one NIC of ESXi is connected to same physical network as physical server (it is not necessary, but helps avoid network reconfiguration).
create a virtual switch with VM port group, which uses NIC connected to physical network.
Detailed guide - https://geek-university.com/vmware-esxi/create-standard-switches/
P2V a physical machine with one of convertors - https://www.vmwareblog.org/v2v-converters-overview/