Show Table of Contents
11.5. Naming Scheme for VLAN Interfaces
Traditionally, VLAN interface names in the format: interface-name.VLAN-ID are used. The
VLAN-ID ranges from 0 to 4096, which is a maximum of four characters and the total interface name has a limit of 15 characters. The maximum interface name length is defined by the kernel headers and is a global limit, affecting all applications.
In Red Hat Enterprise Linux 7, four naming conventions for VLAN interface names are supported:
- VLAN plus VLAN ID
- The word
vlanplus the VLAN ID. For example: vlan0005 - VLAN plus VLAN ID without padding
- The word
vlanplus the VLAN ID without padding by means of additional leading zeros. For example: vlan5 - Device name plus VLAN ID
- The name of the parent interface plus the VLAN ID. For example: eth0.0005
- Device name plus VLAN ID without padding
- The name of the parent interface plus the VLAN ID without padding by means of additional leading zeros. For example: eth0.5

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.