Changes

Line 54: Line 54:  
[[Image:Ubuntu network interface.png]]
 
[[Image:Ubuntu network interface.png]]
   −
In order to use VLAN feature in Ubuntu, we have to let kernel support 802.1q by loading 8021q module.
+
In order to use VLAN feature in Ubuntu, we have to let kernel support 802.1q by loading 8021q module.  
Load the 8021q kernel module with command “'''sudo modprobe 8021q'''”.
+
Load the 8021q kernel module with command “sudo modprobe 8021q”.
 +
 
 +
Add VLAN interfaces with “sudo vconfig add network_interface VLAN_ID” (for example “sudo vconfig add enp2s0 2”)
    
Add VLAN interfaces with “'''sudo vconfig add network_interface VLAN_ID'''” (for example “'''sudo vconfig add enp2s0 2'''”)
 
Add VLAN interfaces with “'''sudo vconfig add network_interface VLAN_ID'''” (for example “'''sudo vconfig add enp2s0 2'''”)
0

edits