8.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 Fedora, four naming conventions for VLAN interface names are supported:
- VLAN plus VLAN ID
The word vlan
plus the VLAN ID. For example: vlan0005
- VLAN plus VLAN ID without padding
The word vlan
plus the VLAN ID with out padding by means of an additional two 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 with out padding by means of an additional two zeros. For example: eth0.05