search
HomeCommon ProblemIs the VLAN generally set to tag or untag?

Untag is generally used for vlan. Tag is used by multiple vlans. If vlan is compared to an isolation steel plate, then tag is an armor-piercing bullet, and untag is an egg because it has no penetrating ability.

1, the port receives data When:

(1) If the port is in tagged mode, when the data packet itself does not contain VLAN, the input data packet will be added with the default vlan.

(2) If the data packet itself already contains VLAN, then it will not be added.

(3) If it is untagged mode, all input data packets must be added with the default vlan. It does not matter whether the incoming packet has a VLAN tag or not.

2. When the port sends data:

(1) If the port is in tagged mode, and if the default VLAN of the port is equal to the VLAN contained in the sent data packet, then the VLAN tag will be changed from Removed from the sent data packet; if not equal, the data packet will be sent out with the VLAN to achieve transparent transmission of the VLAN.

(2) If it is untagged mode, no matter what the default VLAN of the port is and whether it is equal to the VLAN of the data packet to be output, the VLAN ID will be removed from the data packet.

Is the VLAN generally set to tag or untag?

Extended information:

1, advantages and disadvantages of static VLAN

(1) It can be said that static VLAN There is a slight similarity with port-based VLAN, users can allow one or more switch ports on the switch to form a slightly larger virtual LAN. In a certain sense, static virtual LAN makes up for the shortcomings of port-based virtual LAN to some extent.

(2) In terms of shortcomings, although static VLAN can set multiple ports into a virtual LAN, because the inconsistency between the ports and the virtual LAN will often directly cause the personnel in a certain virtual LAN to be unable to function normally. To access the VLAN where he was originally located, the network administrator needs to cooperate at any time to modify the port on the line in a timely manner.

2, Advantages and Disadvantages of Dynamic VLAN

(1) First of all, it is suitable for current wireless LAN technology. Secondly, when users need to move the working base point, they don’t have to worry about static VLAN. Some problems with virtual LANs and port-based virtual LANs occur in dynamic virtual LANs, because in the early stages of establishment of a dynamic virtual LAN, the network administrator has input all MAC addresses in the entire network into the router.

(2) At the same time, how to use the router to automatically distinguish which virtual LAN each computer belongs to through the MAC address, and then connect this computer to the corresponding virtual LAN. Speaking of shortcomings, the shortcomings of dynamic virtual LAN are not really shortcomings. It is just that in the early days of VLAN establishment, network managers need to register the MACs of all machines and then divide the different permissions of the machines corresponding to the MACs.

For more computer-related knowledge, please visit the FAQ column!

The above is the detailed content of Is the VLAN generally set to tag or untag?. 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft