Network | VLAN | Create

POSTED ON 15 May, 2019

This section explains how to create a VLAN interface and the different options available.

Create VLAN

Find below the detailed options to create a VLAN.

zevenet network vlan create

Parent Interface. Select the VLAN parent interface, it could be either a NIC or a Bonding.
VLAN name. The name of the new VLAN interface as it will be stored in the system, the name starts with the name of the Parent Interface followed by the VLAN tag to be used separated by a dot. The parent interface name plus 1 plus the name set must be lower than 16 as defined by the system.
IP Address. The network-layer IP address for the new VLAN. It supports IPv4 and IPv6. This field is mandatory and the Netmask field must be also set if DHCP is disabled.
Netmask/CIDR. The Netmask field supports Network mask format or CIDR (0 to 32 bits) when using IPv4 or only CIDR format (0 to 128 bits) when using IPv6. This field is mandatory and the Address field must be also set if DHCP is disabled.
Gateway. Set a default gateway for this VLAN interface. This field is not mandatory.
MAC. The link-layer MAC address for the new VLAN, you can generate a random valid MAC address clicking in the generate random MAC button or a custom MAC address. In the case of a custom MAC address being set, it should be used with caution in order to avoid MAC address duplication.
DHCP. Enables the Dynamic Host Configuration Protocol (DHCP) for the VLAN interface. This option will require a DHCP server running on the VLAN tag configured and must be reachable.

IPv4 and IPv6 stacks are supported, take into account that the Netmask and Gateway must be configured in the same stack than the IP.
Once all the required changes are done, press the Create button to create the new VLAN interface.

Share on:

Documentation under the terms of the GNU Free Documentation License.

Was this article helpful?

Related Articles