---
updatedAt: 2025-09-16T00:02:54.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Example Ignition file for private VLAN with Terraform

```javascript Ignition Template
{
    "ignition": {
        "version": "2.4.0"
    },
    "networkd": {
        "units": [
            {
                "name": "11-bond0.network",
                "contents": "{PRIVATE_INTERFACE_CONFIG}\nVLAN=private"
            },
            {
                "name": "12-private.netdev",
                "contents": "[NetDev]\nName=private\nKind=vlan\n\n[VLAN]\nId=${vlan_tag}\n"
            },
            {
                "name": "13-private.network",
                "contents": "[Match]\nName=private\n\n[Network]\nAddress=${private_network}\nDNS=8.8.8.8\nDNS=8.8.4.4\n"
            }
        ]
    }
}
```

```json Response Example
{"success":true}
```

# Specifiy the initial params

<!-- javascript@1-6 -->



# Add the VLAN tag to the bond

<!-- javascript@7-10 -->

We need to add `VLAN=private` to the main bond0.network file to specify that this VLAN is tagged on the server.

# Add the VLAN .netdev file

<!-- javascript@11-14 -->



# Add the VLAN .network file

<!-- javascript@15-21 -->