6.7

Table Of Contents
Procedure
1 In the vSphere Web Client, navigate to a vCenter Server instance.
2 On the Configure tab, expand Settings and select Advanced Settings.
3 Click Edit.
4 Add or edit parameters for the target allocation type.
Use only one allocation type.
n
Change to prefix-based allocation.
Key Example Value
config.vpxd.macAllocScheme.prefixScheme.prefix
005026
config.vpxd.macAllocScheme.prefixScheme.prefixLength
23
prefix and prefixLength determine the range of MAC address prefixes that newly added
vNICs have. prefix is the starting OUI of MAC addresses related to the vCenter Server
instance, and prefixLength determines the length of the prefix in bits.
For example, the settings from the table result in VM NIC MAC addresses starting with 00:50:26
or 00:50:27.
n
Change to range-based allocation.
Key Example Value
config.vpxd.macAllocScheme.rangeScheme.range[X].begin
005067000000
config.vpxd.macAllocScheme.rangeScheme.range[X].end
005067ffffff
X in range[X] stands for the range sequence number. For example, 0 in range[0] represents
the allocation settings of the first range for MAC address allocation.
5 Click OK.
Set or Change Allocation Type
If you are changing from range- or prefixed-based allocation to the VMware OUI allocation, you must set
the allocation type in the vpxd.cfd file and restart the vCenter Server.
Prerequisites
Decide on an allocation type before changing the vpxd.cfg file. For information on allocation types, see
MAC Address Assignment from vCenter Server
Procedure
1 On the host machine of vCenter Server, navigate to the directory that contains the configuration file:
n
On a Windows Server operating system, the location of the directory is
C:\ProgramData\VMware\CIS\cfg\vmware-vpx.
n
On the vCenter Server Appliance, the location of the directory is /etc/vmware-vpx.
vSphere Networking
VMware, Inc. 192