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/03/18 23:14]
billdozor [VLAN Tagging]
linux_wiki:vlan_tagging [2019/05/25 23:50] (current)
Line 34: Line 34:
 ONBOOT=yes ONBOOT=yes
 </code> </code>
 +
   * 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>   * 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.1458357276.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)