Skip to main content
networking

Frame

A frame is a Layer 2 (data link) unit of data that includes a header with MAC addresses, the payload (an IP packet), and a trailer with error-checking CRC. Ethernet frames have a maximum size of 1518 bytes. Frames are addressed by MAC, not IP – they do not cross router boundaries.

Definition

A frame is the data unit at the data link layer (OSI Layer 2). Ethernet frames encapsulate IP packets for transmission over a local network segment. The frame header contains source and destination MAC addresses (48-bit each), an EtherType field indicating the payload protocol (0x0800 for IPv4, 0x86DD for IPv6), and optionally 802.1Q VLAN tags. The trailer contains a 4-byte Frame Check Sequence (FCS) – a CRC-32 used by the receiving NIC to detect bit errors from transmission noise. Frames are local to a broadcast domain. When a packet needs to reach a different network, the router strips the incoming frame, routes the IP packet, and encapsulates it in a new frame with new MAC addresses for the next hop.

Examples

  • Ethernet frame: [Dst MAC][Src MAC][EtherType][Payload (46-1500 bytes)][FCS]
  • Wireshark 'frame.len' filter shows frame sizes
  • arp -a shows MAC-to-IP mappings for local frame addressing

Related Protocols

Related Terms