the New-VMHostNetworkAdapter offers the ability to set the MAC address while adding a new kernel interface. But this has a limitation. It always only a MAC within a range 00:50:56:00:00:00 – 00:50:56:3F:FF:FF.
If you try it even though you will get an error:
New-VMHostNetworkAdapter The MAC address is invalid or is not in the valid range 00:50:56:00:00:00 - 00:50:56:3F:FF:FF.
Advertisment to support michlstechblog.info
ESXi offers some extented methods to capture network packets. Here are some examples.
First of all logon to your ESXi host by ssh.
To capture all traffic on a vmkernel interface use tcpdump-uw.
List all vmkernel interfaces
~ # esxcfg-vmknic -l
some Licensemanager uses the first MAC Address found in system as the HostID. You can use the getmac.exe command to show the list with all NICs.
Physical addresse Transport Name
In this example 5C-9A-D8-AE-DC-0D was used as the host id. Sometimes, after installing a additional LAN adapter or by removing one, these alignment is disordered and the licensemanager won’t start.
These order is indent by the subkeys of
Each Network Interface has its own subkey started by 0000. The lowest Keynumber is the first in the output of getmac. So order your NICs as you want by renaming the keys(4-digit numbers)