You can change the number of ports available for VMs for any vSwitch. The predefined values are 8, 24, 56, 120, …, 4088 maximum ports for VMs
You may have noticed that the values are always 2 to the power of x minus 8. i.e.56 = 2 to the power of 6 – 8. This is because the VMKernel always reserves 8 ports for uplinks. They are the ports you connect to the physical NICs for instance.
But what if you want to set your own number of ports?
You can edit /etc/vmware/esx.conf file of your ESXi and change the following line: /net/vswitch/child/numPorts = “72”
In this case you will have 64 ports for VMs and 8 reserved uplinks as usual.
N.B. A reboot is required.
For ESX4.0, edit the file /etc/vmware/init/init.d/00.vmnix
Disclaimer! As usual those kind of hacks are not supported by VMware, so test it in a lab environment only!