802.3 Frames

802.3 Frames

Ethernet Header

Bit Translation Reminder

1 byte = 8 bits = 2 Hex values
e.g., 0x86DD = 0b1000011011011101 = 0d34525

Preamble Start Of Frame (SOF) (802.3) Destination Address Source Address (OPT) 802.1Q Tag Length/Ethertype Data FCS
7 or 8 Bytes 1 byte (if header is 7 bytes) 6 Bytes 6 Bytes 4 Bytes 2 Bytes Variable; 46-1500 bytes 4 Bytes
Used to help sender/receiver sync Marks the end of the preamble MAC address MAC address Identifies VLAN and priority What's encapsulated, IP Version (0x0800 for IPv4, 0x86DD for IPv6) --- Frame Check Sequence; ensures frames are not corrupted

The Ethernet Header is composed of everything before the data; Preamble, SOF (Start of Frame)/SFD (Start Frame Delimiter), Addresses, an option 802.1Q tag (for VLANs), and Length/Type (typically)

802.1Q tag

  • 4 bytes
  • First two bytes is the TPID (Tag Protocol ID), which is 0x8100
    • This indicates that the frame is tagged for VLANs
  • Last two bytes is the TCI (Tag control information), and contains the PCP, DEI, and VID
    • Priority Code Point (PCP)
      • 3-bit field identifying Class of Service (CoS)
    • Drop eligible indicator (DEI)
      • 1-bit field that indicates if a frame can be dropped when the network is congested
    • VLAN Identifier (VID)
      • 12-bit field identifying the frame's VLAN, allowing up to 4,094 VLANs
        • 12-bits = 4096 total possible values minus top and bottom (0 and 4095)

802.3 Frame Mnemonic

PreStart DmacSmac TEL Data FUCKS

Preamble: 7 bytes
SoF: 1 byte
DestMAC: 6 bytes
SrcMAC: 6 bytes
802.1Q tag: 4 bytes
Ethertype/Length: 2 bytes
Data: 46-1500 bytes
FCS: 4 bytes

Metadata

OSI or TCP/IP Layer

CCNA Exam Topic

Contributors

Sources