To change the way the virtual machine communicates with the host or other virtual machines over the network, you can change the power-on connection setting, the MAC address, and the network connection for the virtual network adapter configuration for a virtual machine.

Before you begin

Required privilege: Network > Assign network on a network if you are changing the network the virtual machine connects to.

About this task

For information about configuring the networking for virtual machine network adapters, see the vSphere Networking documentation.

Procedure

  1. Right-click a virtual machine in the inventory and select Edit Settings.
  2. On the Virtual Hardware tab, expand Network adapter, and select the port group to connect to from the drop-down menu.

    The menu lists all standard and distributed port groups that are available for virtual machine use on the host.

    If you want to provision bandwidth to the network adapter from a reserved quota by using vSphere Network I/O Control version 3, select a port group that is associated with the network resource pool that provides the quota.

    If the virtual machine runs on a Cisco UCS server, the drop-down menu also shows the port profiles that are available on the Cisco UCS Virtual Machine Fabric Extender (VM-FEX) distributed switch.

  3. (Optional) : Change the Status settings.

    Option

    Description

    Connected

    Select or deselect this option while the virtual machine is running to connect or disconnect the virtual network adapter. This check box is not available when the virtual machine is turned off.

    Connect at power on

    Select this option for the virtual network adapter to connect to the network when the virtual machine turns on. If you do not check this option, you must manually connect the adapter in order for the virtual machine to access the network.

  4. Select the network adapter type to use from the Adapter Type drop-down menu.
  5. (Optional) : Select how to assign the MAC address from the drop-down menu.
    • Select Automatic to automatically assign a MAC address.

    • Select Manual to manually enter the MAC address that you want.

  6. If the network adapter is connected to a distributed port group of a distributed switch that has vSphere Network I/O Control version 3 enabled, allocate bandwidth to the adapter.
    Note:

    You cannot allocate bandwidth to SR-IOV passthrough network adapters.

    1. From the Shares drop-down menu, set the relative priority of the traffic from this virtual machine as shares from the capacity of the connected physical adapter.
    2. In the Reservation text box, reserve a minimum bandwidth that must be available to the VM network adapter when the virtual machine is powered on.
    3. In the Limit text box, set a limit on the bandwidth that the VM network adapter can consume.
  7. If the virtual machine is connected to a port profile on a Cisco UCS Virtual Machine Fabric Extender (VM-FEX) distributed switch, to enable vSphere DirectPath I/O with vMotion, under DirectPath I/O click Enable.
  8. Click OK.