<!--
{
  "availability" : [
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZVmnetNetworkDeviceAttachment",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZVmnetNetworkDeviceAttachment"
  },
  "title" : "VZVmnetNetworkDeviceAttachment"
}
-->

# VZVmnetNetworkDeviceAttachment

A network device attachment that allows a custom network topology.

```
class VZVmnetNetworkDeviceAttachment
```

## Overview

The Virtualization framework backs this attachment by a logical
network which the client creates and customizes through the
<doc://com.apple.documentation/documentation/vmnet> framework APIs to allow
custom network topology which allows multiple virtual
machines to appear on the same network and connect with each other.

## Topics

### Creating the vmnet network device attachment

[`init(network:)`](/documentation/Virtualization/VZVmnetNetworkDeviceAttachment/init(network:))

Creates the attachment and configures it with the specified data.

## Getting the attached network

[`network`](/documentation/Virtualization/VZVmnetNetworkDeviceAttachment/network)

The network object that the you initialize the attachment with.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)