Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:vlan_tagging [2016/01/03 18:15] billdozor created |
linux_wiki:vlan_tagging [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
**Checklist** | **Checklist** | ||
- | * Enterprise Linux 6/7 | + | * Distro(s): |
---- | ---- | ||
Line 26: | Line 26: | ||
====== VLAN Tagging: ifcfg files ====== | ====== VLAN Tagging: ifcfg files ====== | ||
- | Configure the physical | + | * Configure the regular network |
+ | / | ||
- | / | ||
- | <code bash> | ||
DEVICE=eth1 | DEVICE=eth1 | ||
TYPE=Ethernet | TYPE=Ethernet | ||
Line 36: | Line 35: | ||
</ | </ | ||
- | Configure the VLAN interface as the name of the parent plus " | + | * Configure the virtual network |
+ | / | ||
- | / | ||
- | <code bash> | ||
DEVICE=eth1.20 | DEVICE=eth1.20 | ||
BOOTPROTO=none | BOOTPROTO=none | ||
ONBOOT=yes | ONBOOT=yes | ||
IPADDR=10.1.2.3 | IPADDR=10.1.2.3 | ||
- | PREFIX=24 | + | NETMASK=255.255.255.0 |
- | NETWORK=10.1.2.0 | + | GATEWAY=10.1.2.254 |
VLAN=yes | VLAN=yes | ||
</ | </ | ||
- | + | * Restart the nework service | |
- | Restart the nework service | + | * EL7<code bash> |
- | * EL7<code bash> | + | * EL6<code bash> |
- | * EL6<code bash> | + | |
---- | ---- | ||