General Information
VLAN tagging network interfaces.
Checklist
By default, the 8021q kernel module should be loaded. Double check.
lsmod | grep 8021q
If no results, load the module
modprobe 8021q
/etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes
/etc/sysconfig/network-scripts/ifcfg-eth1.20 DEVICE=eth1.20 BOOTPROTO=none ONBOOT=yes IPADDR=10.1.2.3 NETMASK=255.255.255.0 GATEWAY=10.1.2.254 VLAN=yes
systemctl restart network
service network restart