wire / wire-format / ethernet-mac
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).
aka: Ethernet MAC frame
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).
| field | size | meaning |
|---|---|---|
| Destination MAC | 6 bytes | Target MAC address (or broadcast FF:FF:FF:FF:FF:FF, or multicast). |
| Source MAC | 6 bytes | Sender MAC address. |
| EtherType | 2 bytes | Payload protocol: 0x0800 IPv4, 0x0806 ARP, 0x86DD IPv6, 0x8100 VLAN (802.1Q), 0x88CC LLDP, 0x8906 FCoE. Values ≥ 0x0600 = EtherType; < 0x0600 = 802.3 length. |
| Payload | 46-1500 bytes | Upper-layer data. Padded to 46 bytes minimum (to ensure 64-byte minimum frame). |
| FCS | 4 bytes | CRC-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 frame | up to 9000 bytes | Extended 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)
agent: curl -H 'accept: application/json' wire.phall.io/wire-format/ethernet-mac
or /wire-format/ethernet-mac.json