Differences
This shows you the differences between two versions of the page.
linux_wiki:vlan_tagging [2016/01/03 18:16] billdozor [VLAN Tagging: ifcfg files] |
linux_wiki:vlan_tagging [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VLAN Tagging ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | VLAN tagging network interfaces. | ||
- | |||
- | **Checklist** | ||
- | * Enterprise Linux 6/7 | ||
- | |||
- | ---- | ||
- | |||
- | ====== Ensure Kernel Module is Loaded ====== | ||
- | |||
- | By default, the 8021q kernel module should be loaded. Double check. | ||
- | <code bash> | ||
- | lsmod | grep 8021q | ||
- | </ | ||
- | |||
- | If no results, load the module | ||
- | <code bash> | ||
- | modprobe 8021q | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ====== VLAN Tagging: ifcfg files ====== | ||
- | |||
- | * Configure the physical interface (parent) with very basic information< | ||
- | / | ||
- | |||
- | DEVICE=eth1 | ||
- | TYPE=Ethernet | ||
- | BOOTPROTO=none | ||
- | ONBOOT=yes | ||
- | </ | ||
- | * Configure the VLAN interface as the name of the parent plus " | ||
- | / | ||
- | |||
- | DEVICE=eth1.20 | ||
- | BOOTPROTO=none | ||
- | ONBOOT=yes | ||
- | IPADDR=10.1.2.3 | ||
- | PREFIX=24 | ||
- | NETWORK=10.1.2.0 | ||
- | VLAN=yes | ||
- | </ | ||
- | * Restart the nework service | ||
- | * EL7<code bash> | ||
- | * EL6<code bash> | ||
- | |||
- | ---- | ||