Skip to content

Resource: proxmox_network_linux_vlan

Manages a Linux VLAN network interface in a Proxmox VE node.

Schema

Required

  • name (String) The interface name. Either add the VLAN tag number to an existing interface name, e.g. ens18.21 (and do not set interface and vlan), or use custom name, e.g. vlan_lab (interface and vlan are then required).
  • node_name (String) The name of the node.

Optional

  • address (String) The interface IPv4/CIDR address.
  • address6 (String) The interface IPv6/CIDR address.
  • autostart (Boolean) Automatically start interface on boot (defaults to true).
  • comment (String) Comment for the interface.
  • gateway (String) Default gateway address.
  • gateway6 (String) Default IPv6 gateway address.
  • interface (String) The VLAN raw device. See also name.
  • mtu (Number) The interface MTU.
  • timeout_reload (Number) Timeout for network reload operations in seconds (defaults to 100).
  • vlan (Number) The VLAN tag. See also name.

Read-Only

  • id (String) A unique identifier with format <node name>:<iface>.