---
title: VZVirtioNetworkDeviceConfiguration
framework: virtualization
role: symbol
role_heading: Class
path: virtualization/vzvirtionetworkdeviceconfiguration
---

# VZVirtioNetworkDeviceConfiguration

A configuration object that requests the creation of a network device for the guest system.

## Declaration

```swift
class VZVirtioNetworkDeviceConfiguration
```

## Mentioned in

Creating and Running a Linux Virtual Machine

## Overview

Overview Use a VZVirtioNetworkDeviceConfiguration object to configure one network interface of your virtual machine. After creating this object, assign an appropriate value to its inherited attachment property to define the type of network interface you want. You can also assign a specific MAC address, or let the system generate a random address for you. After creating and configuring a VZVirtioNetworkDeviceConfiguration object, assign it to the networkDevices property of your virtual machine’s configuration.

## Topics

### Creating the configuration object

- [init()](virtualization/vzvirtionetworkdeviceconfiguration/init().md)

## Relationships

### Inherits From

- [VZNetworkDeviceConfiguration](virtualization/vznetworkdeviceconfiguration.md)

### Conforms To

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

## See Also

### Configurations

- [VZNetworkDeviceConfiguration](virtualization/vznetworkdeviceconfiguration.md)
- [VZMACAddress](virtualization/vzmacaddress.md)
