<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCVLANInterfaceCreate(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCVLANInterfaceCreate"
  },
  "title" : "SCVLANInterfaceCreate(_:_:_:)"
}
-->

# SCVLANInterfaceCreate(_:_:_:)

Creates a new virtual LAN (VLAN) interface.

```
func SCVLANInterfaceCreate(_ prefs: SCPreferences, _ physical: SCNetworkInterface, _ tag: CFNumber) -> SCVLANInterface?
```

## Parameters

`prefs`

The preferences session.

`physical`

The physical interface to associate with the VLAN.

`tag`

The tag to associate with the VLAN. This value must be between 1 and 4094.

## Return Value

The new VLAN interface. You must release the returned value.

## Discussion

---

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)