Home  >  Article  >  Three ways to communicate between VLANs

Three ways to communicate between VLANs

Guanhui
GuanhuiOriginal
2020-06-19 11:27:5416512browse

Three ways to communicate between VLANs

Three ways to communicate between VLANs

1. Connect to each VLAN on the switch through different physical interfaces of the router;

The advantage of this method is simple management, but the disadvantage is that network expansion is difficult. Each time a new VLAN is added, the router port and the access link on the switch need to be consumed, and a new network cable needs to be laid. Routers usually do not have too many LAN interfaces;

2. Connect to each VLAN of the switch through the logical sub-interface of the router;

This connection method requires the router and switch to Both ports support aggregation links, and the protocols used by both parties for aggregation links must naturally be the same;

3. Use layer 3 or above switches instead of routers to implement inter-VLAN communication.

Currently there are many three-layer or above switches on the market. Among these switches, manufacturers integrate routing functions into the switches through hardware or software. The switches are mainly used for In the campus network, routing in the campus network is relatively simple, but requires fast data exchange speed, so it has been widely used.

Video tutorial recommendation: "PHP"

VLAN

VLAN (Virtual Local Area Network ) is called "virtual local area network" in Chinese.

Virtual LAN (VLAN) is a group of logical devices and users. These devices and users are not restricted by physical location. They can be organized according to functions, departments, applications and other factors, and can communicate with each other. They communicate as if they were on the same network segment, hence the name virtual LAN. VLAN is a relatively new technology that works on layers 2 and 3 of the OSI reference model. A VLAN is a broadcast domain, and communication between VLANs is completed through layer 3 routers. Compared with traditional LAN technology, VLAN technology is more flexible and has the following advantages: The management overhead of moving, adding and modifying network equipment is reduced; broadcast activities can be controlled; and network security can be improved.

In computer networks, a Layer 2 network can be divided into multiple different broadcast domains. One broadcast domain corresponds to a specific user group. By default, these different broadcast domains are isolated from each other. Communication between different broadcast domains requires one or more routers. Such a broadcast domain is called a VLAN.

Recommended tutorials: "PHP" "Java Tutorial"

The above is the detailed content of Three ways to communicate between VLANs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn