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 used to represent EtherType. The interpretation of values 1501–1535, inclusive, is undefined.
The size of the payload of non-standard jumbo frames, typically ~9000 Bytes long, falls within the range used by EtherType, creating a conflict. The proposition to resolve this conflict was to substitute the special EtherType 0x8870 when a length would otherwise be used.
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 cannot easily be mistaken as part of the payload. Vendor implementations may avoid wasting bandwidth sending those 48-bits in proprietary link compression schemes. The EtherType usually does not contain any CRC or FCS information.
With the advent of the IEEE 802 suite of standards, a Subnetwork Access Protocol (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.
|0x0800||Internet Protocol version 4 (IPv4)|
|0x0806||Address Resolution Protocol (ARP)|
|0x22F3||IETF TRILL Protocol|
|0x6003||DECnet Phase IV|
|0x8035||Reverse Address Resolution Protocol|
|0x80F3||AppleTalk Address Resolution Protocol (AARP)|
|0x8100||VLAN-tagged frame (IEEE 802.1Q) & Shortest Path Bridging IEEE 802.1aq|
|0x86DD||Internet Protocol Version 6 (IPv6)|
|0x8808||Ethernet flow control|
|0x8809||Slow Protocols (IEEE 802.3)|
|0x8863||PPPoE Discovery Stage|
|0x8864||PPPoE Session Stage|
|0x887B||HomePlug 1.0 MME|
|0x888E||EAP over LAN (IEEE 802.1X)|
|0x889A||HyperSCSI (SCSI over Ethernet)|
|0x88A2||ATA over Ethernet|
|0x88A8||Provider Bridging (IEEE 802.1ad) & Shortest Path Bridging IEEE 802.1aq|
|0x88AB||Ethernet Powerlink|
|0x88CC||Link Layer Discovery Protocol (LLDP)|
|0x88E1||HomePlug AV MME|
|0x88E3||Media Redundancy Protocol (IEC62439-2)|
|0x88E5||MAC security (IEEE 802.1AE)|
|0x88F7||Precision Time Protocol (IEEE 1588)|
|0x8902||IEEE 802.1ag Connectivity Fault Management (CFM) Protocol / ITU-T Recommendation Y.1731 (OAM)|
|0x8906||Fibre Channel over Ethernet (FCoE)|
|0x8914||FCoE Initialization Protocol|
|0x8915||RDMA over Converged Ethernet (RoCE)|
|0x892F||High-availability Seamless Redundancy (HSR)|
|0x9000||Ethernet Configuration Testing Protocol|
|0xCAFE||Veritas Low Latency Transport (LLT) for Veritas Cluster Server|
Note that even very well known de facto uses of EtherTypes are not always recorded in the IEEE list of EtherType values. For example, EtherType 0x0806 (used by ARP) appears in the IEEE list only as "Symbolics, Inc., Protocol unavailable."
- IEEE Std 802.3-2005, 3.2.6
- Kaplan et al. (2000-05-26). "Extended Ethernet Frame Size Support". Internet Engineering Task Force.
- "WakeOnLAN". Retrieved 2013-01-16.
- "Configuration - Shortest Path Bridging MAC (SPBM)". Avaya. p. 35. Retrieved 7 July 2012.
- "Configuration - Shortest Path Bridging MAC (SPBM)". Avaya. June 2012. p. 35. Retrieved 7 July 2012.
- Configuration Testing Protocol (Loop)
- Veritas Low Latency Transport (LLT)
- IEEE Registration Authority Tutorials
- IEEE EtherType Registration Authority
- IEEE Public EtherType list