Content
IEEE 802.1QÂ is an IEEE-standardized prioritization and VLAN technology that implements packet-based tagged VLANs, unlike older, port-based VLANs only. The term "Tagged" is derived from the term material tags, which are tags used to mark goods. So tagged VLANs are networks that use network packets with a special VLAN mark.
Tags in the Ethernet frame
The 802.1Q standard defines data fields for VLAN tagging that are inserted into the data area of an Ethernet packet. This has the advantage that, as a rule, older switches can also forward such packets. The tag inserted consists of four fields with a total length of 32 bits. Two bytes are used for the protocol ID, three bits for the priority field, one bit for the canonical format indicator and twelve bits for the VLAN ID.
How it works according to IEEE 802.1Q
A unique number is assigned to each VLAN. This number is called VLAN-ID. A device that belongs to the VLAN with ID=1 can communicate with any other device in the same VLAN, but not with a device in another VLAN such as ID=2, 3,...
In order to distinguish between the VLANs, the Ethernet frame is extended by four bytes (= 32 bits) according to IEEE 802.1Q. Of these, 12 bits are intended for recording the VLAN ID, so that (without using the Canonical Format Bit) a total of 4096 - 2 = 4094 VLANs are possible (the VLAN IDs "0" and "4095" are reserved and not permitted).
16 bits | 3 bits | 1 bit | 12 bits |
---|---|---|---|
TPID | TCI | ||
PCP | DEI | VID |
- TPIDÂ - Tag Protocol Identifier: Fixed value 8100. frame carries the 802.1Q/802.1p tag information.
- TCIÂ - Tag Control Information:
- PCPÂ - Priority Code Point: User priority information.
- DEIÂ - Drop Eligible Indicator: Can be used separately or in conjunction with PCP to indicate that frames can be dropped in the presence of traffic jams.
- VIDÂ - VLAN identifier: Identification of the VLAN to which the frame belongs.
Prioritization with VLAN is also possible. One of 8 (3 bit) priorities can be specified for each frame (IEEE 802.1p). This makes it possible, for example, to forward voice data while HTTP data is slowed down. This functionality is becoming increasingly important, especially with regard to the increasing use of VoIP (IP telephony). This means that interference during telephone calls can be avoided even with'limited' bandwidth. (see also Quality of Service )
Source:Â https://de.wikipedia.org/wiki/IEEE_802.1Q#Tags_im_Ethernet-Frame Further Information
Related articles
There is no content with the specified labels