Contents

VZBridgedNetworkDeviceAttachment

A network device that interacts directly with a physical network interface on the host computer.

Declaration

class VZBridgedNetworkDeviceAttachment

Overview

A VZBridgedNetworkDeviceAttachment object represents a physical interface on the host computer. Use this object when configuring a network interface for your virtual machine. A bridged network device sends and receives packets on the same physical interface as the host computer, but does so using a different network layer.

To configure a network device with a bridged network interface:

  1. Obtain a reference to one of the host’s physical network interfaces from the networkInterfaces property of VZBridgedNetworkInterface.

  2. Create the VZBridgedNetworkDeviceAttachment object using the network interface.

  3. Assign the attachment object to the attachment property of a VZVirtioNetworkDeviceConfiguration object.

  4. Add the VZVirtioNetworkDeviceConfiguration object to the networkDevices property of your VZVirtualMachineConfiguration.

Topics

Creating the attachment point

Getting the network interface

See Also

Attachment points