The generic format of an Ethernet frame is defined below, the 'options' fields may be present if the Type/Length field indicates a VLAN TPID. The VLAN extended Frame Format is defined here and the MAC format here.
|Preamble||Destination MAC||Source MAC||Type/Length||Options||Data||FCS|
|8||6||6||2||?||46 - 1500||4|
|64 - 1518 bytes|
Numeric values are in bytes (octets).
Preamble does not count toward the total block size.
Frames of less than 64 bytes are always padded to 64 bytes.
Maximum LAN block size on a non VLAN is 1514.
The Type/Length for non-VLAN values.
The options field is present depending on the value of the Type/Length field (and is used primarily in VLANs 802.1Q and 802.1D format LANs).
The MAC address (aka EU-48) is an IEEE 802 administered format consisting of 48 bits:
Note: Bits are numbered 1 to 48 starting on left using the standard IETF convention. Note: IEEE uses a 8 - 1 bit per byte notation with 1 on the RIGHT.
|Organizationally Unique Id (OUI) 24 bits (3 octets)||Unique Interface Value 24 bits (3 octets)|
|Unique value assigned to an organization by IEEE (aka Vendor ID). The top (leftmost) octet has the following format:
|Unique Address assigned by OUI (vendor) if bit 7 (U/L) of first MAC octet is 0 or local administrator if bit 7 (U/L) of first MAC octet is 1.|
Note: When the MAC is used to construct an IPv6 EUI-64 address using Stateless configuration the meaning and values of the U/L (bit 7) are reversed.
The VLAN Extension is PRESENT if the the value of the first Type/Length field is x'8100 (TPID - Tag Protocol Identifier). The Frame Type/Length value is then replaced with the extended VLAN frame as defined below.
|2||2||?||2||46 - 1500|
The TCI is a 16 bit value defined as follows:
|user_priority||CFI||12bit VID (VLAN ID)|
User_priority is in the range 0 to 7.
CFI if 1 indicates there is one or more additional 'options' fields present.
VID is the 12 bit VLAN ID.
Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.
If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C standards compliant browser such as Firefox