opnsense_vlan_create
Creates an 802.1Q VLAN interface on a parent interface for network segmentation. Requires subsequent binding to a logical interface and IP assignment.
Instructions
Create a new 802.1Q VLAN interface on a parent interface. After create, run opnsense_if_assign to bind the VLAN to a logical interface (opt1, opt2, ...) and opnsense_if_configure to assign an IP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_interface | Yes | Parent physical interface device name (e.g. 're0', 'igb0') | |
| vlan_tag | Yes | 802.1Q VLAN ID (1-4094) | |
| description | No | Human-readable description of the VLAN | |
| priority | No | 802.1p priority (0-7, default 0) |