In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
The Vlan here is a Vlan that conforms to the IEEE 802.1Q standard.
The frame structure is as follows:
| | DA | SA | tag | Type | Date | CRC | |
Compared to a normal Ethernet frame, the Vlan frame adds a 4byte-long Tag field after the source Mac address. This field is divided into:
| | TPID | priority | CFI | Vlan ID | |
TPID: tag protocal ID is a fixed value: 0x8100
Priority: 3bits is long and has 8 priorities
CFI: 0 for specification and 1 for non-specification
Vlan ID: 12bits is long, with a value of 14094
This tag is very important, although there are many forms of Vlan, such as port-based Vlan, Mac-based Vlan, protocol-based Vlan, etc., but will eventually be converted to tag.
The most commonly used is port-based Vlan, which leads to several different port types: access/trunk/hybrid
The Access port can only belong to one Vlan. When the port receives an ordinary Ethernet frame, it hits Tag,Vlan ID, which is the ID; of the Vlan where the port is located. When the port is forwarded out, the Tag will be removed. It is commonly used to connect non-Vlan aware devices such as PC.
The Trunk port can belong to more than one Vlan. When forwarding frames, except for the Vlan frames consistent with its PVID without Tag, all the other ports need to be tag. PVID is the ID of the default Vlan for this port. It is generally used for direct interconnection of switches.
Hybrid ports can also belong to multiple Vlan, but unlike Trunk ports, it allows multiple Vlan frames to be forwarded with tag and multiple Vlan frames without tag. It is flexible to use, and protocol-based Vlan is an example.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.