---
title: VZBridgedNetworkDeviceAttachment
framework: virtualization
role: symbol
role_heading: Class
path: virtualization/vzbridgednetworkdeviceattachment
---

# VZBridgedNetworkDeviceAttachment

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

## Declaration

```swift
class VZBridgedNetworkDeviceAttachment
```

## Overview

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. important: To use this attachment, your app must have the com.apple.vm.networking entitlement. If it doesn’t, the use of this attachment point results in an invalid VZVirtualMachineConfiguration object. To configure a network device with a bridged network interface: Obtain a reference to one of the host’s physical network interfaces from the networkInterfaces property of VZBridgedNetworkInterface. Create the VZBridgedNetworkDeviceAttachment object using the network interface. Assign the attachment object to the attachment property of a VZVirtioNetworkDeviceConfiguration object. Add the VZVirtioNetworkDeviceConfiguration object to the networkDevices property of your VZVirtualMachineConfiguration.

## Topics

### Creating the attachment point

- [init(interface:)](virtualization/vzbridgednetworkdeviceattachment/init(interface:).md)

### Getting the network interface

- [interface](virtualization/vzbridgednetworkdeviceattachment/interface.md)

## Relationships

### Inherits From

- [VZNetworkDeviceAttachment](virtualization/vznetworkdeviceattachment.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Attachment points

- [VZFileHandleNetworkDeviceAttachment](virtualization/vzfilehandlenetworkdeviceattachment.md)
- [VZNATNetworkDeviceAttachment](virtualization/vznatnetworkdeviceattachment.md)
- [VZVmnetNetworkDeviceAttachment](virtualization/vzvmnetnetworkdeviceattachment.md)
- [VZNetworkDeviceAttachment](virtualization/vznetworkdeviceattachment.md)
