linux_wiki:vlan_tagging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:vlan_tagging [2016/01/03 18:16]
billdozor [VLAN Tagging: ifcfg files]
linux_wiki:vlan_tagging [2019/05/25 23:50] (current)
Line 6: Line 6:
  
 **Checklist** **Checklist**
-  * Enterprise Linux 6/7+  * Distro(s): Enterprise Linux 6/7
  
 ---- ----
Line 26: Line 26:
 ====== VLAN Tagging: ifcfg files ====== ====== VLAN Tagging: ifcfg files ======
  
-  * Configure the physical interface (parent) with very basic information<code bash>+  * Configure the regular network interface (parent) with very basic information<code bash>
 /etc/sysconfig/network-scripts/ifcfg-eth1 /etc/sysconfig/network-scripts/ifcfg-eth1
  
Line 34: Line 34:
 ONBOOT=yes ONBOOT=yes
 </code> </code>
-  * Configure the VLAN interface as the name of the parent plus ".", then the VLAN ID. \\ Example: if the VLAN ID is 20<code bash>+ 
 +  * Configure the virtual network interface as the name of the parent plus ".", then the VLAN ID. \\ Example: if the VLAN ID is 20<code bash>
 /etc/sysconfig/network-scripts/ifcfg-eth1.20 /etc/sysconfig/network-scripts/ifcfg-eth1.20
  
Line 41: Line 42:
 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
 </code> </code>
  • linux_wiki/vlan_tagging.1451863007.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)