6.0

Table Of Contents
8 From the drop-down menu select the virtual function.
9 Click Finish.
10 Power on the virtual machine.
Adding a virtual function as a PCI device to a virtual machine sets memory reservation to the memory size
of the virtual machine.
Configure the Passthrough Device for a Virtual Function
After you configure a virtual machine with a virtual function as a PCI device, you can configure the virtual
function with a static MAC address and a default VLAN with the help of the vSphere Client.
In the virtual machine configuration .vmx file, you can assign a static MAC address and a default VLAN to
the virtual function.
Prerequisites
Verify that the virtual function is assigned to the virtual machine as a PCI device.
Procedure
1 Select a virtual machine from the inventory panel of the vSphere Client.
2 Power off the virtual machine.
3 From the Inventory menu, select Virtual Machine > Edit Settings.
4 Click the Options tab and under Advanced select General.
5 Click Configuration.
6 To assign a static MAC address, add or edit the following parameters.
Parameter Value
pciPassthruX.MACAddressType
static
pciPassthruX.MACAddress
MAC_address_of_the_virtual_function
X next to pciPassthru stands for the sequence number of the PCI device in the virtual machine. For
example, 0 in pciPassthru0 represents the settings of the PCI device added first to the virtual machine.
7 To assign a default VLAN, add or edit the pciPassthruX.defaultVlan parameter according to the
following value guidelines. X next to pciPassthru stands for the sequence number of the PCI device in
the virtual machine.
Option Description
0
Allow no VLAN and do NOT allow guest VLAN tagging. In this way,
administratively disallow guest VLAN tagging.
1-4095
Allow tagged only and do NOT allow guest VLAN tagging.
No entry
Allow untagged only and allow guest VLAN tagging.
8 Click OK.
9 Power on the virtual machine.
vSphere Administration with the vSphere Client
256 VMware, Inc.