wire / wire-format / ethernet-frame
An Ethernet II (DIX) frame: 6-byte destination MAC, 6-byte source MAC, 2-byte EtherType, payload (46-1500 bytes), and a 4-byte FCS (CRC-32).
aka: Ethernet II frame
spec: IEEE 802.3
An Ethernet II (DIX) frame: 6-byte destination MAC, 6-byte source MAC, 2-byte EtherType, payload (46-1500 bytes), and a 4-byte FCS (CRC-32).
| field | size | meaning |
|---|---|---|
| Destination MAC | 6 bytes | Target MAC address (or broadcast FF:FF:FF:FF:FF:FF). |
| Source MAC | 6 bytes | Sender MAC address. |
| EtherType | 2 bytes | Payload protocol: 0x0800 IPv4, 0x0806 ARP, 0x86DD IPv6, 0x8100 VLAN tag, ... (values >= 0x0600). |
| Payload | 46-1500 bytes | Upper-layer data; padded to 46 bytes minimum. |
| FCS | 4 bytes | CRC-32 over dst+src+type+payload. |
example:
ff ff ff ff ff ff 00 11 22 33 44 55 08 00
Broadcast dst, src 00:11:22:33:44:55, EtherType 0x0800 (IPv4)
agent: curl -H 'accept: application/json' wire.phall.io/wire-format/ethernet-frame
or /wire-format/ethernet-frame.json