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 |
Notes:
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.
Type/Length | VLAN Descriptor | Options | Type/Length | Data.... |
2 | 2 | ? | 2 | 46 - 1500 |
TPID (value x'8100) |
TCI | Optional TCI indicates presence |
Frame Type/Length |
The TCI is a 16 bit value defined as follows:
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
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.
Tech Stuff
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
Search
Share
Page
Standards
ISO (International)
IEC (International)
ANSI (US)
DIN (Germany)
ETSI (EU)
BSI (UK)
AFNOR (France)
Telecom
TIA (US)
ECIA (US)
ITU (International)
IEEE (US)
ETSI (EU)
OFCOM (UK)
Internet
Electronics
Site
Copyright © 1994 - 2024 ZyTrax, Inc. All rights reserved. Legal and Privacy |
site by zytrax hosted by javapipe.com |
web-master at zytrax Page modified: January 20 2022. |