wire / wire-format / ethernet-mac

Ethernet MAC frame

An Ethernet II (DIX) frame: 6-byte destination MAC, 6-byte source MAC, 2-byte EtherType (or length for 802.3), payload (46-1500 bytes), and 4-byte FCS (CRC-32). Minimum frame (without FCS) is 64 bytes; maximum is 1518 (1522 with 802.1Q VLAN tag).

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: Ethernet MAC frame

wire format

spec: IEEE 802.3

An Ethernet II (DIX) frame: 6-byte destination MAC, 6-byte source MAC, 2-byte EtherType (or length for 802.3), payload (46-1500 bytes), and 4-byte FCS (CRC-32). Minimum frame (without FCS) is 64 bytes; maximum is 1518 (1522 with 802.1Q VLAN tag).

fieldsizemeaning
Destination MAC6 bytesTarget MAC address (or broadcast FF:FF:FF:FF:FF:FF, or multicast).
Source MAC6 bytesSender MAC address.
EtherType2 bytesPayload protocol: 0x0800 IPv4, 0x0806 ARP, 0x86DD IPv6, 0x8100 VLAN (802.1Q), 0x88CC LLDP, 0x8906 FCoE. Values ≥ 0x0600 = EtherType; < 0x0600 = 802.3 length.
Payload46-1500 bytesUpper-layer data. Padded to 46 bytes minimum (to ensure 64-byte minimum frame).
FCS4 bytesCRC-32 (IEEE 802.3) over dst+src+type+payload. Computed by NIC.
VLAN tag (802.1Q)4 bytes (inserted)TPID 0x8100 + PCP (3 bits) + DEI (1 bit) + VID (12 bits). Inserted between src and EtherType.
Jumbo frameup to 9000 bytesExtended payload (up to 9000 bytes) for high-throughput networks. Not standardized but widely supported.

example:

ff ff ff ff ff ff 00 11 22 33 44 55 08 00

Ethernet frame: broadcast dst, src 00:11:22:33:44:55, EtherType 0x0800 (IPv4)


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/ethernet-mac or /wire-format/ethernet-mac.json