Anonymous user
VLAN tag based configuration examples (Legacy Firmware): Difference between revisions
VLAN tag based configuration examples (Legacy Firmware) (view source)
Revision as of 00:13, 8 July 2020
, 8 July 2020→Creating new LAN's
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
=Summary= | =Summary= | ||
A virtual LAN (VLAN) is any broadcast domain that is partitioned and isolated in a computer network at the data link layer (OSI layer 2). | A virtual LAN (VLAN) is any broadcast domain that is partitioned and isolated in a computer network at the data link layer (OSI layer 2). LAN is the abbreviation for local area network and in this context virtual refers to a physical object recreated and altered by additional logic. VLANs work by applying tags to network packets and handling these tags in networking systems - creating the appearance and functionality of network traffic that is physically on a single network but acts as if it is split between separate networks. In this way, VLANs can keep network applications separate despite being connected to the same physical network, and without requiring multiple sets of cabling and networking devices to be deployed. | ||
VLANs allow network administrators to group hosts together even if the hosts are not on the same network switch. This can greatly simplify network design and deployment, because VLAN membership can be configured through software. Without VLANs, grouping hosts according to their resource needs necessitates the labor of relocating nodes or rewiring data links. It also has benefits in allowing networks and devices that must be kept separate to share the same physical cabling without interacting, for reasons of simplicity, security, traffic management, or economy. For example, a VLAN could be used to separate traffic within a business due to users, and due to network administrators, or between types of traffic, so that users or low priority traffic cannot directly affect the rest of the network's functioning. Many Internet hosting services use VLANs to separate their customers' private zones from each other, allowing each customer's servers to be grouped together in a single network segment while being located anywhere in their datacenter. Some precautions are needed to prevent traffic "escaping" from a given VLAN, an exploit known as VLAN hopping. | VLANs allow network administrators to group hosts together even if the hosts are not on the same network switch. This can greatly simplify network design and deployment, because VLAN membership can be configured through software. Without VLANs, grouping hosts according to their resource needs necessitates the labor of relocating nodes or rewiring data links. It also has benefits in allowing networks and devices that must be kept separate to share the same physical cabling without interacting, for reasons of simplicity, security, traffic management, or economy. For example, a VLAN could be used to separate traffic within a business due to users, and due to network administrators, or between types of traffic, so that users or low priority traffic cannot directly affect the rest of the network's functioning. Many Internet hosting services use VLANs to separate their customers' private zones from each other, allowing each customer's servers to be grouped together in a single network segment while being located anywhere in their datacenter. Some precautions are needed to prevent traffic "escaping" from a given VLAN, an exploit known as VLAN hopping. | ||
Line 8: | Line 8: | ||
=Configuration in Router's web interface= | =Configuration in Router's web interface= | ||
You should secure your wiki. | |||
===Creating new LAN's=== | ===Creating new LAN's=== | ||
Line 56: | Line 59: | ||
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'''”) |