VLAN tag based configuration examples (Legacy Firmware): Difference between revisions
VLAN tag based configuration examples (Legacy Firmware) (view source)
Revision as of 07:25, 13 June 2018
, 13 June 2018→Configuration in Ubuntu terminal
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 | 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'''”) |