Virtual LAN is a virtual LAN system established on the same physical device. In a typical LAN, computers in the same location can connect to each other through a centralized physical device such as a switch or hub. However, in a LAN, there are often many computers that need to be connected to each other as a separate network system. If conventional physical devices are used, the number of devices will increase significantly, and the number of ports on the devices will be excessive, leading to waste. The solution is to use a virtual LAN system on the same physical device.
For example: A company has 3 different departments sitting on 3 floors, but they are not concentrated but distributed evenly on 3 floors. Therefore, to serve the work, we will need 3x3=9 switches if we want to divide the connection clearly.
VLAN Solution Overview: With the VLAN solution, we only need to use 3 switches. Each switch will be divided into different VLANs, with each VLAN assigned to corresponding departments. Computers belonging to each department will be assigned to their respective VLAN on the switch. Clearly, VLAN implementation simplifies infrastructure deployment and significantly saves costs.
VLAN Classification
There are 3 common methods for configuring VLANs:
Port-based VLAN: This type of VLAN is configured based on ports. Each port on the switch is assigned a specific VLAN configuration. When connecting a computer through a port, it automatically connects to the pre-configured VLAN.
MAC Address-based VLAN: This type of VLAN is configured based on the MAC address of each device. The MAC address of a device is assigned to a specific VLAN when it needs to connect. The advantage of this connection type lies in the fact that we do not need to manage too many or remember the ports of the physical devices.
Protocol-based VLAN: This VLAN type is configured based on IP addresses using the DHCP protocol. This configuration type is currently not widely used.
Standards for VLAN Implementation
The most common protocol used for VLAN configuration is IEEE 802.1Q, which offers users good communication speed along with high security capabilities. It is suitable for wide area networks in companies and enterprises.
Advantages of VLANs
Bandwidth Saving of the Network: VLAN can divide the LAN into smaller areas, so when VLAN transmits data, it will only transmit within the computers belonging to that VLAN, reducing broadcast traffic and saving transmission bandwidth.
Enhanced Security Capabilities: Different computers in different VLANs cannot access each other, reducing the risk of data loss or virus spread.
Easy Management: A computer can be quickly added to a pre-configured VLAN without requiring too much infrastructure configuration.
Differentiating VLANs in Internet Network Configuration
When configuring the Internet, many people may question why not use subnets (sub-networks) instead of VLANs. The answer is that VLANs have an advantage over subnets in that subnets require connected computers to be in the same physical location (same switch), and that switch must be connected to the same port on the router when connecting to the Internet.
On the contrary, VLANs allow computers on the same VLAN to connect to the router at different physical locations through multiple switches, as long as they share a VLAN connection.
Here are some basic VLAN knowledge and the convenience of VLANs when connecting computers in an enterprise network system to meet the different needs of each target group. For smaller scales, we can control the wifi network with Wireless Network Watcher and refer to some configuration methods that are suitable.
Nowadays, mobile 4G networks are becoming increasingly common with lightning-fast speeds. Phone users can easily turn their phones into Wi-Fi hotspots for other devices to connect and access the internet. If you're unsure how to do this, check out Mytour's article on how to tether Wi-Fi from your phone. It's easy to set up Wi-Fi hotspot on various phone models like iPhone, Samsung, Oppo, and more.