In an Ethernet frame carrying a VLAN tag, where does the VLAN tag appear?
In an Ethernet frame carrying a VLAN tag, the VLAN tag appears before the type field. A VLAN tag is a 4-byte field that is inserted into an Ethernet frame to indicate the VLAN membership and priority of the frame. The VLAN tag consists of two subfields: the tag protocol identifier (TPID) and the tag control information (TCI). The TPID subfield is a 16-bit field that identifies the frame as an IEEE 802.1Q-tagged frame, with a value of 0x8100. The TCI subfield is a 16-bit field that contains the priority code point (PCP), the drop eligible indicator (DEI), and the VLAN identifier (VID). The VLAN tag appears between the source MAC address and the type fields of the original frame, shifting the type field by four bytes. The type field indicates the type of the payload, such as IP or ARP .
Currently there are no comments in this discussion, be the first to comment!