EtherType

related topics
{system, computer, user}
{math, number, function}
{area, community, home}

EtherType is a two-octet field in an Ethernet frame. It is used to indicate which protocol is encapsulated in the PayLoad of an Ethernet Frame. This field was first defined by the Ethernet II framing networking standard, and later adapted for the IEEE 802.3 Ethernet networking standard.

EtherType numbering generally starts from 0x0800. In modern implementations of Ethernet, the field within the Ethernet frame used to describe the EtherType also can be used to represent the size of the payload of the Ethernet Frame. Historically, depending on the type of Ethernet framing that was in use on an Ethernet segment, both interpretations were simultaneously valid, leading to ambiguity. Ethernet v2 framing considered these octets to represent EtherType while the original IEEE 802.3 framing considered these octets to represent the size of the payload in bytes. In order to allow packets using Ethernet v2 framing and packets using the IEEE 802.3 framing to be used on the same Ethernet segment, a unifying standard (IEEE 802.3x-1997) was introduced that required that EtherType values be greater than or equal to 1536 (0x0600). That value was chosen because the maximum length (MTU) of the data field of an Ethernet 802.3 frame was 1500 bytes (0x05DC). Thus, values of 1500 (0x05DC) and below for this field indicate that the field is used as the size of the payload of the Ethernet Frame while values of 1536 and above indicate that the field is in actually used to represent EtherType. The interpretation of values between 1500 and 1536, exclusive, is undefined.[1] The size of the payload of non-standard jumbo frames, typically ~9000 Bytes long, falls within the range used by EtherType; this conflict is resolved by substituting the special EtherType value 0x8870 when a length would otherwise be used.[2] The network stack can replace this special EtherType with the actual length of the packet on receive, or when bridging to non-Ethernet networks like FDDI.


Multiprotocol_Label_Switching also uses 32-bits per label and a stacking arrangement.


The figure below shows a typical VLAN arrangement with a TPID EtherType value of 0x8100.
A QinQ arrangement would add another 32-bit tag with 16-bit TPID using various EtherType values.
Triple Tagging QinQinQ has three 32-bit tags besides the original 16-bit EtherType field.



With 802.1q VLAN Tagging and QinQ the sparse 16-bit EtherType is being completely used. The 16-bit EtherType not only tags the PayLoad Class, it also serves to help end any VLAN Tagging or QinQ stacking. Via look-ahead peeking in streams, the 16-bit EtherType can help to confirm or package a QinQ 32+32+16=80 bit Header between the 48-bit MAC addresses and the PayLoad. Of those 80-bits only 32-bits are used for dynamic information. For a full 66-bit addressing system, 18 bits are needed beyond the MAC. Thus, additional EtherType values are required and used for Triple Tagging QinQinQ. Inefficient and conservative use of a 16-bit Tag Protocol Identifier (TPID) on each 32-bit VLAN Tag, followed by the trailing lone 16-bits creates a 48-bit Signature that can not easily be mistaken as part of the PayLoad. Vendor implementations may avoid wasting band-width sending those 48-bits in proprietary link compression schemes. The EtherType is not expected to contain any CRC or FCS information.

With the advent of the IEEE 802 suite of standards, a SNAP header combined with an IEEE 802.2 LLC header is used to transmit the EtherType of a payload for IEEE 802 networks other than Ethernet, as well as for non-IEEE networks that use the IEEE 802.2 LLC header, such as FDDI. However, for Ethernet, the Ethernet II header is still used.

Full article ▸

related documents
OS/390
Advanced Maryland Automatic Network Disk Archiver
Differential Manchester encoding
Baseband
Planar (computer graphics)
Telecommunications in Portugal
Communications in Andorra
A20 handler
SOAP
Enlightenment (window manager)
IBM 604
Terabyte
Telecommunications service
WYSIAYG
Communications in Mozambique
Relay league
XMMS
Communications in Morocco
Part 68
ASCI White
Multiprogramming with a Variable number of Tasks (MVT)
Multiplex baseband
Sircam
Master station
Metropolitan area network
TAT-14
Klez (computer worm)
Telecommunications in France
QSIG
Communications in Vietnam