<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rs-485.com/index.php?action=history&amp;feed=atom&amp;title=Ethernet_frame</id>
	<title>Ethernet frame - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rs-485.com/index.php?action=history&amp;feed=atom&amp;title=Ethernet_frame"/>
	<link rel="alternate" type="text/html" href="https://rs-485.com/index.php?title=Ethernet_frame&amp;action=history"/>
	<updated>2026-05-03T20:44:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://rs-485.com/index.php?title=Ethernet_frame&amp;diff=1167&amp;oldid=prev</id>
		<title>RS-485: Imported from Wikipedia (overwrite)</title>
		<link rel="alternate" type="text/html" href="https://rs-485.com/index.php?title=Ethernet_frame&amp;diff=1167&amp;oldid=prev"/>
		<updated>2026-05-03T12:18:04Z</updated>

		<summary type="html">&lt;p&gt;Imported from Wikipedia (overwrite)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Unit of data on an Ethernet network}}&lt;br /&gt;
{{Use dmy dates|date=March 2024}}&lt;br /&gt;
{{Use American English|date = March 2019}}&lt;br /&gt;
&lt;br /&gt;
[[File:ethernet frame.svg|Ethernet packet. The SFD (start frame delimiter) marks the end of the packet preamble. It is immediately followed by the Ethernet frame, which starts with the destination MAC address.&amp;lt;ref name=&amp;quot;802.3-2018&amp;quot;&amp;gt;{{Cite book |title=802.3-2018 – IEEE Standard for Ethernet |date=2018-06-14 |publisher=[[IEEE]] |isbn=978-1-5044-5090-4 |doi=10.1109/IEEESTD.2018.8457469}}&amp;lt;/ref&amp;gt;|thumb|300x300px]]&lt;br /&gt;
&lt;br /&gt;
In [[computer network]]ing, an &amp;#039;&amp;#039;&amp;#039;Ethernet frame&amp;#039;&amp;#039;&amp;#039; is a [[data link layer]] [[protocol data unit]] and uses the underlying [[Ethernet physical layer]] transport mechanisms. In other words, a [[network packet|data unit]] on an [[Ethernet]] link transports an Ethernet frame as its payload.&amp;lt;ref name=&amp;quot;IEEE 802.3 Clause 3.1.1&amp;quot;&amp;gt;{{cite book|title=802.3-2018 – IEEE Standard for Ethernet|section=3.1.1 Packet format|publisher=[[IEEE]]|date=2018-06-14|isbn=978-1-5044-5090-4|doi=10.1109/IEEESTD.2018.8457469}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An Ethernet [[Frame (networking)|frame]] is preceded by a [[Preamble (communication)|preamble]] and start frame delimiter (SFD), which are both part of the Ethernet packet at the [[physical layer]]. Each Ethernet frame starts with an Ethernet header, which contains destination and source [[MAC address]]es as its first two fields. The middle section of the frame is payload data, including any headers for other protocols (for example, [[Internet Protocol]]) carried in the frame. The frame ends with a [[frame check sequence]] (FCS), which is a 32-bit [[cyclic redundancy check]] used to detect any in-transit corruption of data.&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
{{See also|Physical Coding Sublayer}}&lt;br /&gt;
&lt;br /&gt;
A data packet on the wire and the frame as its payload consist of binary data. Ethernet transmits data with the most-significant [[octet (computing)|octet]] (byte) first; within each octet, however, the least-significant bit is transmitted first.{{efn|The [[frame check sequence]] (FCS) uses a different bit ordering.&amp;lt;ref&amp;gt;{{Cite book&lt;br /&gt;
 | title = 802.3-2018 – IEEE Standard for Ethernet&lt;br /&gt;
 | date = 2018-06-14&lt;br /&gt;
 | publisher = [[IEEE]]&lt;br /&gt;
 | doi = 10.1109/IEEESTD.2018.8457469&lt;br /&gt;
 | isbn = 978-1-5044-5090-4&lt;br /&gt;
 | at = Section 3.3 and annex 31A&lt;br /&gt;
 | quote = Opcodes are transmitted high-order octet first. Within each octet, bits are transmitted least-significant bit first. [...] Each octet of the MAC frame, with the exception of the FCS, is transmitted least significant bit first.&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The internal structure of an Ethernet frame is specified in IEEE 802.3.&amp;lt;ref name=&amp;quot;IEEE 802.3 Clause 3.1.1&amp;quot; /&amp;gt; The table below shows the complete Ethernet packet and the frame inside, as transmitted, for the payload size up to the [[maximum transmission unit|MTU]] of 1500 octets.{{Efn|The bit patterns in the preamble and start of frame delimiter are written as bit strings, with the first bit transmitted on the left (&amp;#039;&amp;#039;not&amp;#039;&amp;#039; as octet values, which in Ethernet are transmitted least significant bit(s) first). This notation matches the one used in the IEEE 802.3 standard.}} Some implementations of [[Gigabit Ethernet]] and other higher-speed variants of Ethernet support larger frames, known as [[jumbo frame]]s.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|+ 802.3 Ethernet packet and frame structure&lt;br /&gt;
|-&lt;br /&gt;
! Layer !! Preamble !! Start frame delimiter (SFD) !! MAC destination !! MAC source !! [[802.1Q]] tag (optional) !! [[Ethertype]] ([[Ethernet II|Ethernet&amp;amp;nbsp;II]]) or&amp;amp;nbsp;length ([[IEEE&amp;amp;nbsp;802.3]]) !! Payload !! [[Frame check sequence]] (32‑bit [[cyclic redundancy check|CRC]]) !! [[Interpacket gap|Interpacket&amp;amp;nbsp;gap (IPG)]]&lt;br /&gt;
|-&lt;br /&gt;
| Length ([[Octet (computing)|octets]])&lt;br /&gt;
| 7 || 1 || 6 || 6 || (4) || 2 || 42–1500{{efn|Payload can be 42 octets if an 802.1Q tag is present. Minimum is 46 octets without.}} || 4 || 12&lt;br /&gt;
|-&lt;br /&gt;
| [[Layer 2]] Ethernet frame&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | (not part of the frame)|| colspan=&amp;quot;6&amp;quot; style=&amp;quot;background:#fdd;&amp;quot; | {{nowrap|← 64–1522 octets →}} ||(not part of the frame)&lt;br /&gt;
|-&lt;br /&gt;
| [[Layer 1]] Ethernet packet &amp;amp; IPG&lt;br /&gt;
| colspan=&amp;quot;8&amp;quot; style=&amp;quot;background:#fdd;&amp;quot;| {{nowrap|← 72–1530 octets →}} || style=&amp;quot;background:#fdd;&amp;quot; | ← 12 octets&amp;amp;nbsp;→&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The optional 802.1Q tag consumes additional space in the frame. Field sizes for this option are shown in brackets in the table above. [[IEEE 802.1ad]] (Q-in-Q) allows for multiple tags in each frame. This option is not illustrated here.&lt;br /&gt;
&lt;br /&gt;
=== {{Anchor|Ethernet packet}}Ethernet packet – physical layer===&lt;br /&gt;
&lt;br /&gt;
==== {{Anchor|SFD}}Preamble and start frame delimiter ====&lt;br /&gt;
{{See also|Syncword}}&lt;br /&gt;
&lt;br /&gt;
An Ethernet packet starts with a seven-octet (56-bit) [[Preamble (communication)|preamble]] and one-octet (8-bit) &amp;#039;&amp;#039;start frame delimiter&amp;#039;&amp;#039; (SFD).{{Efn|Preamble and start frame delimiter are not displayed by [[packet sniffing]] software because these bits are stripped away at OSI layer 1 by the [[network interface controller]] (NIC) before being passed on to the [[OSI layer 2]], which is where packet sniffers collect their data. There are layer-2 sniffers that can capture and display the preamble and start frame delimiter, but they are expensive and mainly used to detect problems related to physical connectivity.}} The preamble bit values alternate 1 and 0, allowing receivers to synchronize their clock at the bit-level with the transmitter. The preamble is followed by the SFD, which ends with a 1 instead of 0, to break the bit pattern of the preamble and signal the start of the actual frame.&amp;lt;ref name=&amp;quot;802.3-2018&amp;quot; /&amp;gt;{{rp|section 4.2.5}}&lt;br /&gt;
&lt;br /&gt;
[[PHY|Physical layer transceiver circuitry]] (PHY for short) is required to connect the Ethernet MAC to the physical medium. The connection between a PHY and MAC is independent of the physical medium and uses a bus from the [[media-independent interface]] (MII) family ([[GMII]], [[RGMII]], [[SGMII]], [[XGMII]], etc.). The preamble and SFD representation depend on the width of the bus:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Preamble and SFD representations as bits, decimal, bytes, and nibbles&lt;br /&gt;
!Representation&lt;br /&gt;
! colspan=&amp;quot;14&amp;quot; |&amp;#039;&amp;#039;&amp;#039;56-bit (7-byte) Preamble&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; |&amp;#039;&amp;#039;&amp;#039;SFD byte&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|uncoded on-the-wire &amp;#039;&amp;#039;&amp;#039;bit pattern&amp;#039;&amp;#039;&amp;#039; transmitted from left to right (used by Ethernet variants transmitting serial bits instead of larger [[symbol (data)|symbols]])&amp;lt;ref name=&amp;quot;802.3-2018&amp;quot; /&amp;gt;{{rp|sections 4.2.5 and 3.2.2}}&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101010&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101010&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101010&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101010&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101010&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101010&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101010&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |10101011&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;decimal&amp;#039;&amp;#039;&amp;#039; in Ethernet [[Least Significant Bit|LSb]]-first ordering&amp;lt;ref name=&amp;quot;802.3-2018&amp;quot; /&amp;gt;{{rp|sections 3.2.2, 3.3 and 4.2.6}}&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |85&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |85&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |85&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |85&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |85&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |85&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |85&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |213&lt;br /&gt;
|-&lt;br /&gt;
|hexadecimal LSb-first &amp;#039;&amp;#039;&amp;#039;bytes&amp;#039;&amp;#039;&amp;#039; for 8-bit wide busses&lt;br /&gt;
([[GMII|GMII bus]] for [[Gigabit Ethernet]] transceivers)&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0x55&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0x55&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0x55&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0x55&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0x55&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0x55&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0x55&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |0xD5&lt;br /&gt;
|-&lt;br /&gt;
|hexadecimal LSb-first [[nibble|&amp;#039;&amp;#039;&amp;#039;nibbles&amp;#039;&amp;#039;&amp;#039;]] for 4-bit wide busses ([[Media-independent interface|MII bus]] for [[Fast Ethernet]] or [[RGMII]] for gigabit transceivers)&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0x5&lt;br /&gt;
|0xD&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The SFD is immediately followed by the destination [[MAC address]], which is the first field in an Ethernet frame.&lt;br /&gt;
&lt;br /&gt;
===Frame – data link layer===&lt;br /&gt;
====Header====&lt;br /&gt;
The header features destination and source MAC addresses (each six octets in length), the [[EtherType]] field, and, optionally, an [[IEEE 802.1Q]] tag or [[IEEE 802.1ad]] tag.&lt;br /&gt;
&lt;br /&gt;
The EtherType field is two octets long and it can be used for two different purposes. Values of 1500 and below mean that it is used to indicate the size of the payload in octets, while values of 1536 and above indicate that it is used as an EtherType, to indicate which protocol is encapsulated in the payload of the frame. When used as EtherType, the length of the frame is determined by the location of the [[interpacket gap]] and valid [[frame check sequence]] (FCS).&lt;br /&gt;
&lt;br /&gt;
The [[IEEE 802.1Q]] tag or [[IEEE 802.1ad]] tag, if present, is a four-octet field that indicates [[virtual LAN]] (VLAN) membership and [[IEEE 802.1p]] priority. The first two octets of the tag are called the Tag Protocol Identifier (TPID) and double as the EtherType field, indicating that the frame is either 802.1Q or 802.1ad tagged. 802.1Q uses a TPID of 0x8100. 802.1ad uses a TPID of 0x88a8.&lt;br /&gt;
&lt;br /&gt;
====Payload====&lt;br /&gt;
Payload is a variable-length field. Its minimum size is governed by a requirement for a minimum frame transmission of 64 octets (bytes).{{Efn|Minimum payload size is dictated by the 512-bit slot time used for [[Carrier-sense multiple access with collision detection|collision detection]] in the Ethernet LAN architecture.}} With header and FCS taken into account, the minimum payload is 42 octets when an 802.1Q tag is present{{Efn|Both 42 and 46 octet minimums are valid when 802.1Q is present.&amp;lt;ref&amp;gt;{{cite book|doi=10.1109/IEEESTD.2011.6009146|chapter=Annex G|title=IEEE Standard for Local and metropolitan area networks--Media Access Control (MAC) Bridges and Virtual Bridged Local Area Networks|isbn=978-0-7381-6708-4}}&amp;lt;/ref&amp;gt;}} and 46 octets when absent. When the actual payload is less than the minimum, padding octets are added accordingly. IEEE standards specify a maximum payload of 1500 octets. Non-standard [[jumbo frame]]s allow for larger payloads on networks built to support them.&lt;br /&gt;
&lt;br /&gt;
====Frame check sequence====&lt;br /&gt;
The [[frame check sequence]] (FCS) is a four-octet [[cyclic redundancy check]] (CRC) that allows detection of corrupted data within the entire frame as received on the receiver side. According to the standard, the FCS value is computed as a function of the protected MAC frame fields: source and destination address, length/type field, payload data and padding (that is, all fields except the FCS).&lt;br /&gt;
&lt;br /&gt;
Per the standard, this computation is done using the left shifting CRC-32 ([[cyclic redundancy check#Introduction|polynomial]]&amp;amp;nbsp;= 0x04C11DB7, initial CRC&amp;amp;nbsp;= 0xFFFFFFFF, CRC is post complemented, verify value&amp;amp;nbsp;= 0x38FB2284) algorithm. The standard states that data is transmitted least significant bit (bit 0) first, while the FCS is transmitted most significant bit (bit 31) first.&amp;lt;ref name=&amp;quot;802.3-2018&amp;quot; /&amp;gt;{{rp|section 3.2.9}} An alternative is to calculate a CRC using the right shifting CRC-32 (polynomial&amp;amp;nbsp;= 0xEDB88320, initial CRC = 0xFFFFFFFF, CRC is post complemented, verify value = 0x2144DF1C), which will result in a CRC that is a bit reversal of the FCS, and transmit both data and the CRC least significant bit first, resulting in identical transmissions.&lt;br /&gt;
&lt;br /&gt;
The standard states that the receiver should calculate a new FCS as data is received and then compare the received FCS with the FCS the receiver has calculated. An alternative is to calculate a CRC on both the received data and the FCS, which will result in a fixed non-zero &amp;#039;&amp;#039;verify&amp;#039;&amp;#039; value. (The result is non-zero because the CRC is post complemented during CRC generation). Since the data is received least significant bit first, and to avoid having to buffer octets of data, the receiver typically uses the right shifting CRC-32. This makes the &amp;#039;&amp;#039;verify&amp;#039;&amp;#039; value (sometimes called &amp;#039;&amp;#039;magic check&amp;#039;&amp;#039;) 0x2144DF1C.&amp;lt;ref&amp;gt;{{cite web|url=https://www.autosar.org/fileadmin/user_upload/standards/classic/4-1/AUTOSAR_SWS_CRCLibrary.pdf#page=24|title=Specification of CRC Routines V4.5.0 R4.1 Rev 3|page=24|publisher=[[AUTOSAR]]|access-date=30 January 2020|archive-date=11 June 2020|archive-url=https://web.archive.org/web/20200611204430/https://www.autosar.org/fileadmin/user_upload/standards/classic/4-1/AUTOSAR_SWS_CRCLibrary.pdf#page=24|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, hardware implementation of a logically right shifting CRC may use a left shifting [[Linear-feedback shift register#Galois LFSRs|Linear Feedback Shift Register]] as the basis for calculating the CRC, reversing the bits and resulting in a verify value of 0x38FB2284. Since the complementing of the CRC may be performed post calculation and during transmission, what remains in the hardware register is a non-complemented result, so the residue for a right shifting implementation would be the complement of 0x2144DF1C = 0xDEBB20E3, and for a left shifting implementation, the complement of 0x38FB2284 = 0xC704DD7B.&lt;br /&gt;
&lt;br /&gt;
=== {{Anchor|EOF|EOD|End of frame}}End of frame – physical layer ===&lt;br /&gt;
The &amp;#039;&amp;#039;end of a frame&amp;#039;&amp;#039; is usually indicated by the end-of-data-stream symbol at the physical layer or by loss of the carrier signal; an example is [[10BASE-T]], where the receiving station detects the end of a transmitted frame by loss of the carrier. More modern physical layers use an explicit &amp;#039;&amp;#039;end of data&amp;#039;&amp;#039; or &amp;#039;&amp;#039;end of stream&amp;#039;&amp;#039; symbol or sequence to avoid ambiguity, especially where the carrier is continually sent between frames; an example is Gigabit Ethernet with its [[8b/10b]] encoding scheme that uses special symbols which are transmitted before and after a frame is transmitted.&amp;lt;ref&amp;gt;{{cite book&lt;br /&gt;
 | url = https://archive.org/details/ethernetdefiniti0000spur&lt;br /&gt;
 | url-access = registration&lt;br /&gt;
 | title = Ethernet: The Definitive Guide&lt;br /&gt;
 | date = February 2000 | access-date = 2014-06-30&lt;br /&gt;
 | author = Charles E. Spurgeon | publisher = O&amp;#039;Reilly&lt;br /&gt;
 | pages = [https://archive.org/details/ethernetdefiniti0000spur/page/41 41], 47&lt;br /&gt;
| isbn = 9780596552824&lt;br /&gt;
 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book&lt;br /&gt;
 | title = 802.3-2018 – IEEE Standard for Ethernet&lt;br /&gt;
 | section = 40.1.3.1 Physical Coding Sublayer (PCS)&lt;br /&gt;
 | publisher = [[IEEE]]&lt;br /&gt;
 | date = 2018-06-14&lt;br /&gt;
 | isbn = 978-1-5044-5090-4&lt;br /&gt;
 | doi = 10.1109/IEEESTD.2018.8457469}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==={{Anchor|Interpacket gap}}Interpacket gap – physical layer===&lt;br /&gt;
[[Interpacket gap]] (IPG) is the idle time between packets. After a packet has been sent, transmitters are required to transmit a minimum of 96 bits (12 octets) of idle line state before transmitting the next packet.&lt;br /&gt;
&lt;br /&gt;
==Types==&lt;br /&gt;
{| class=&amp;quot;wikitable floatright&amp;quot; style=&amp;quot;text-align: center; margin-left: 1.5em; margin-right: 0;&amp;quot;&lt;br /&gt;
|+ Ethernet frame differentiation&lt;br /&gt;
|-&lt;br /&gt;
! Frame type !! EtherType or Length  !! Payload first two bytes&lt;br /&gt;
|-&lt;br /&gt;
| Ethernet II || ≥ 1536 || Any&lt;br /&gt;
|-&lt;br /&gt;
| Novell raw IEEE 802.3 || ≤ 1500 || 0xFFFF &lt;br /&gt;
|-&lt;br /&gt;
| IEEE 802.2 LLC || ≤ 1500 || Other&lt;br /&gt;
|-&lt;br /&gt;
| IEEE 802.2 SNAP || ≤ 1500 || 0xAAAA&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
There are several types of Ethernet frames:&lt;br /&gt;
&lt;br /&gt;
* Ethernet II frame, or Ethernet Version 2,{{Efn|A version 1 Ethernet frame was used for early Ethernet prototypes and featured 8-bit MAC addresses and was never commercially deployed.}} or DIX frame is the most common type in use today, as it is often used directly by the Internet Protocol.&lt;br /&gt;
* [[Novell]] raw [[IEEE 802.3]] non-standard variation frame&lt;br /&gt;
* [[IEEE 802.2]] [[Logical Link Control]] (LLC) frame&lt;br /&gt;
* [[IEEE 802.2]] [[Subnetwork Access Protocol]] (SNAP) frame&lt;br /&gt;
&lt;br /&gt;
The different frame types have different formats and [[Maximum transmission unit|MTU]] values, but can coexist on the same physical medium. Differentiation between frame types is possible based on the table on the right.&lt;br /&gt;
&lt;br /&gt;
In addition, all four Ethernet frame types may optionally contain an IEEE 802.1Q tag to identify what VLAN it belongs to and its priority ([[quality of service]]). This encapsulation is defined in the [[IEEE 802.3ac]] specification and increases the maximum frame size by 4 octets.&amp;lt;!--802.3as subsequently increased maximum frame size still further--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IEEE 802.1Q tag, if present, is placed between the Source Address and the EtherType or Length fields. The first two octets of the tag are the Tag Protocol Identifier (TPID) value of 0x8100. This is located in the same place as the EtherType/Length field in untagged frames, so an EtherType value of 0x8100 means the frame is tagged, and the true EtherType/Length is located after the Q-tag. The TPID is followed by two octets containing the Tag Control Information (TCI) (the IEEE 802.1p priority ([[quality of service]]) and VLAN id). The Q-tag is followed by the rest of the frame, using one of the types described above.&lt;br /&gt;
&lt;br /&gt;
===Ethernet II===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ethernet II framing&amp;#039;&amp;#039;&amp;#039; (also known as &amp;#039;&amp;#039;&amp;#039;DIX Ethernet&amp;#039;&amp;#039;&amp;#039;, named after [[Digital Equipment Corporation|DEC]], [[Intel]] and [[Xerox]], the major participants in its design&amp;lt;ref&amp;gt;{{cite book |title=Drew Heywood&amp;#039;s Windows 2000 Network Services |author=Drew Heywood |author2=Zubair Ahmad |publisher=Sams |year=2001 |isbn=978-0-672-31741-5 |page=53}}&amp;lt;/ref&amp;gt;), defines the two-octet [[EtherType]] field in an Ethernet [[Frame (telecommunications)|frame]], preceded by destination and source MAC addresses, that identifies an [[upper layer protocol]] [[Encapsulation (networking)|encapsulated]] by the frame data. Most notably, an EtherType value of 0x0800 indicates that the frame contains an [[IPv4]] datagram, 0x0806 indicates an [[Address Resolution Protocol|ARP]] datagram, and 0x86DD indicates an [[IPv6]] datagram. See {{Section link|EtherType|Values}} for more.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ethernet Type II Frame format.svg|thumb|center|700px|The most common Ethernet frame format, type II]]&lt;br /&gt;
&lt;br /&gt;
As this industry-developed standard went through a formal [[IEEE]] standardization process, the EtherType field was changed to a (data) length field in the new 802.3 standard.{{Efn|Original Ethernet frames define their length with the framing that surrounds it, rather than with an explicit length count.}} Since the recipient still needs to know how to interpret the frame, the standard required an [[IEEE 802.2]] header to follow the length and specify the type. Many years later, the 802.3x-1997 standard, and later versions of the 802.3 standard, formally approved of both types of framing. Ethernet II framing is the most common in Ethernet local area networks, due to its simplicity and lower overhead.&lt;br /&gt;
&lt;br /&gt;
In order to allow some frames using Ethernet II framing and some using the original version of 802.3 framing to be used on the same Ethernet segment, EtherType values must be greater than or equal to 1536 (0x0600). That value was chosen because the maximum length of the payload field of an Ethernet 802.3 frame is 1500 octets (0x05DC). Thus if the field&amp;#039;s value is greater than or equal to 1536, the frame must be an Ethernet II frame, with that field being a type field.&amp;lt;ref&amp;gt;{{cite book|author=LAN MAN Standards Committee of the IEEE Computer Society|title=IEEE Std 802.3x-1997 and IEEE Std 802.3y-1997|publisher=The Institute of Electrical and Electronics Engineers, Inc.|date=20 March 1997|pages=28–31}}&amp;lt;/ref&amp;gt; If it&amp;#039;s less than or equal to 1500, it must be an IEEE 802.3 frame, with that field being a length field. Values between 1500 and 1536, exclusive, are undefined.&amp;lt;ref&amp;gt;{{cite book|doi=10.1109/IEEESTD.2018.8457469|section=3.2.6 Length/Type field|title=802.3-2018 – IEEE Standard for Ethernet|date=2018-06-14|isbn=978-1-5044-5090-4}}&amp;lt;/ref&amp;gt; This convention allows software to determine whether a frame is an Ethernet II frame or an IEEE 802.3 frame, allowing the coexistence of both standards on the same physical medium.&lt;br /&gt;
&lt;br /&gt;
===Novell raw IEEE 802.3===&lt;br /&gt;
Novell&amp;#039;s raw 802.3 frame format was based on early IEEE 802.3 work. Novell used this as a starting point to create the first implementation of its own [[IPX]] Network Protocol over Ethernet. They did not use any LLC header but started the IPX packet directly after the length field. This does not conform to the IEEE 802.3 standard, but since IPX always has FF as the first two octets (while in IEEE 802.2 LLC that pattern is theoretically possible but extremely unlikely), in practice this usually coexists on the wire with other Ethernet implementations, with the notable exception of some early forms of [[DECnet]] which got confused by this.&lt;br /&gt;
&lt;br /&gt;
[[Novell NetWare]] used this frame type by default until the mid-nineties, and since NetWare was then very widespread, while IP was not, at some point in time, most of the world&amp;#039;s Ethernet traffic ran over raw 802.3 carrying IPX. Since NetWare 4.10, NetWare defaults to IEEE 802.2 with LLC (NetWare Frame Type Ethernet_802.2) when using IPX.&amp;lt;ref&amp;gt;{{cite newsgroup | author=Don Provan | title=Ethernet Framing | date=17 September 1993 | newsgroup=comp.sys.novell | message-id=1993Sep17.190654.13335@novell.com | url=https://groups.google.com/group/bit.listserv.novell/browse_thread/thread/d00a24530625714c }} ([http://www.ee.siue.edu/~bnoble/comp/networks/frametypes.html HTML-formatted version] {{webarchive|url=https://web.archive.org/web/20150418013816/http://www.ee.siue.edu/~bnoble/comp/networks/frametypes.html |date=18 April 2015 }}) &amp;amp;nbsp;— a classic series of Usenet postings by Novell&amp;#039;s Don Provan that have found their way into numerous FAQs and are widely considered the definitive answer to the Novell Frame Type usage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===IEEE 802.2 LLC===&lt;br /&gt;
{{Main|IEEE 802.2}}&lt;br /&gt;
Some protocols, such as those designed for the [[OSI stack]], operate directly on top of IEEE 802.2 LLC encapsulation, which provides both connection-oriented and connectionless network services.&lt;br /&gt;
&lt;br /&gt;
IEEE 802.2 LLC encapsulation is not in widespread use on common networks currently, with the exception of large corporate [[NetWare]] installations that have not yet migrated to NetWare over [[Internet Protocol|IP]]. In the past, many corporate networks used IEEE 802.2 to support transparent translating bridges between Ethernet and [[Token Ring]] or [[FDDI]] networks.&lt;br /&gt;
&lt;br /&gt;
There exists an [[Internet standard]] for encapsulating IPv4 traffic in IEEE 802.2 LLC SAP/SNAP frames.&amp;lt;ref&amp;gt;&lt;br /&gt;
  {{cite IETF&lt;br /&gt;
    | rfc = 1042&lt;br /&gt;
    | title = A Standard for the Transmission of IP Datagrams over IEEE 802 Networks&lt;br /&gt;
    | publisher = Network Working Group of the IETF&lt;br /&gt;
    | date = February 1988&lt;br /&gt;
  }}&lt;br /&gt;
&amp;lt;/ref&amp;gt; It is almost never implemented on Ethernet, although it is used on FDDI, Token Ring, [[IEEE 802.11]] (with the exception of the [[IEEE 802.11p|5.9 GHz band]], where it uses EtherType)&amp;lt;ref&amp;gt;{{Cite book|title=IEEE Std 802.11-2016: Part 11: Wireless LAN Medium Access Control IEEE (MAC) and Physical Layer (PHY) Specifications.|last=Computer Society|first=IEEE|publisher=IEEE|year=2016|location=New York, NY|pages=249}}&amp;lt;/ref&amp;gt; and other [[IEEE 802]] LANs. IPv6 can also be transmitted over Ethernet using IEEE 802.2 LLC SAP/SNAP, but, again, that&amp;#039;s almost never used.&lt;br /&gt;
&lt;br /&gt;
===IEEE 802.2 SNAP===&lt;br /&gt;
{{Main|Subnetwork Access Protocol}}&lt;br /&gt;
By examining the 802.2 LLC header, it is possible to determine whether it is followed by a SNAP header. The LLC header includes two eight-bit address fields, called &amp;#039;&amp;#039;service access points&amp;#039;&amp;#039; (SAPs) in OSI terminology; when both source and destination SAPs are set to the value 0xAA, the LLC header is followed by a SNAP header. The SNAP header allows EtherType values to be used with all IEEE 802 protocols, as well as supporting private protocol ID spaces.&lt;br /&gt;
&lt;br /&gt;
In IEEE 802.3x-1997, the IEEE Ethernet standard was changed to explicitly allow the use of the 16-bit field after the MAC addresses to be used as a length field or a type field.&lt;br /&gt;
&lt;br /&gt;
The [[AppleTalk]] v2 protocol suite on Ethernet (&amp;quot;[[AppleTalk#EtherTalk, TokenTalk and AppleShare|EtherTalk]]&amp;quot;) uses IEEE 802.2 LLC + SNAP encapsulation.&lt;br /&gt;
&lt;br /&gt;
==Maximum throughput==&lt;br /&gt;
We may calculate the [[protocol overhead]] for Ethernet as a percentage (packet size including IPG)&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Protocol overhead} = \frac{\text{Packet size} - \text{Payload size}}{\text{Packet size}}&amp;lt;/math&amp;gt;&lt;br /&gt;
We may calculate the &amp;#039;&amp;#039;protocol efficiency&amp;#039;&amp;#039; for Ethernet&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Protocol efficiency} = \frac{\text{Payload size}}{\text{Packet size}}&amp;lt;/math&amp;gt;&lt;br /&gt;
Maximum efficiency is achieved with the largest allowed payload size and is:&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1500}{1538} = 97.53\%&amp;lt;/math&amp;gt;&lt;br /&gt;
for untagged frames, since the packet size is a maximum 1500 octet payload&amp;amp;nbsp;+ 8 octet preamble&amp;amp;nbsp;+ 14 octet header&amp;amp;nbsp;+ 4 octet trailer&amp;amp;nbsp;+ minimum interpacket gap corresponding to 12 octets&amp;amp;nbsp;= 1538 octets. The maximum efficiency is:&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1500}{1542} = 97.28\%&amp;lt;/math&amp;gt;&lt;br /&gt;
when 802.1Q VLAN tagging is used.&lt;br /&gt;
&lt;br /&gt;
The [[throughput]] may be calculated from the efficiency&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Throughput} = \text{Efficiency} \times \text{Net bit rate}\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
where the physical layer [[net bit rate]] (the wire bit rate) depends on the [[Ethernet physical layer]] standard, and may be {{nowrap|10 Mbit/s}}, {{nowrap|100 Mbit/s}}, {{nowrap|1 Gbit/s}} or {{nowrap|10 Gbit/s}}. [[Maximum throughput]] for 100BASE-TX Ethernet is consequently {{nowrap|97.53 Mbit/s}} without 802.1Q, and {{nowrap|97.28 Mbit/s}} with 802.1Q.&lt;br /&gt;
&lt;br /&gt;
[[Channel utilization]] is a concept often confused with protocol efficiency. It considers only the use of the channel, disregarding the nature of the data transmitted{{snd}}either payload or overhead. At the physical layer, the link channel and equipment do not know the difference between data and control frames. We may calculate the [[channel utilization]]:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Channel utilization} = \frac{\text{Time spent transmitting data}}{\text{Total time}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The total time considers the round-trip time along the channel, the processing time in the hosts and the time transmitting data and acknowledgements. The time spent transmitting data includes data and acknowledgements.&lt;br /&gt;
&lt;br /&gt;
=={{Anchor|RUNT-FRAMES}}Runt frames==&lt;br /&gt;
A runt frame is an Ethernet frame that is less than the IEEE 802.3&amp;#039;s minimum length of 64 octets. Runt frames are most commonly caused by [[Collision (telecommunications)|collisions]]; other possible causes are a malfunctioning [[network card]], [[buffer underrun]], [[duplex mismatch]] or software issues.&amp;lt;ref&amp;gt;&lt;br /&gt;
  {{cite web&lt;br /&gt;
    | url = http://www.cisco.com/en/US/docs/internetworking/troubleshooting/guide/tr1904.html&lt;br /&gt;
    | title=Troubleshooting Ethernet&lt;br /&gt;
    | publisher = Cisco Systems&lt;br /&gt;
    | access-date = 2016-08-13&lt;br /&gt;
  }}&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Notelist}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
{{Wikiversity|Topic:Web Science/Part1: Foundations of the web/Internet Architecture/Ethernet}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:How to build an Ethernet Frame.webm|Video which explains how to build an Ethernet Frame&lt;br /&gt;
File:Minimum Frame Length in Ethernet explained.webm|Minimum Frame Length in Ethernet explained&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Ethernet}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Ethernet Frame}}&lt;br /&gt;
[[Category:Articles containing video clips]]&lt;br /&gt;
[[Category:Ethernet|Frame]]&lt;br /&gt;
&lt;br /&gt;
[[de:Datenframe]]&lt;/div&gt;</summary>
		<author><name>RS-485</name></author>
	</entry>
</feed>