Reading Time: < 1 minute
MAC addresses are assigned at the bootup of a virtual machine. But there is a way to assign a fix hardware address to a vmware network interface by editing the virtual machine with Vi.
Simply connect with SSH to your ESXi and go to /vnfs/datastore1 or anywhere you put your vm.
If your virtual machine is called vm1, go to /vmfs/datastore1/vm1
Open the file vm1.vmx using Vi.
Around the end of the file there will be the configuration of the network interfaces.
You should see things like: