attachment
The object that defines how the virtual network device communicates with the host system.
Declaration
var attachment: VZNetworkDeviceAttachment? { get set }Discussion
The default value of this property is nil. Assign an appropriate value to specify the type of network interface you want to make available to the guest operating system. For example, assign a VZBridgedNetworkDeviceAttachment object to grant access to one of the host computer’s physical network interfaces.