Framing, Stuffing & CRC
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
A continuous bit stream needs explicit boundaries before any address or payload can be interpreted. Framing turns that stream into discrete units a receiver can buffer, validate, and hand upward.
On the wire
Ethernet prefixes each frame with a preamble and SFD, then a header, payload, and a 32-bit CRC computed over header and payload. HDLC-style links use bit stuffing or byte stuffing so a reserved delimiter cannot appear inside the payload, and the receiver unstuffs before checking the FCS.
When it breaks
If a stuffed delimiter is missed, the receiver declares an early end of frame and the trailing bytes become a bogus next frame, usually failing CRC. A burst error longer than the CRC can detect can pass the check, silently delivering corrupted payload to the next layer.
Frame builder
Click a field to flip a bit, then send it. The FCS covers Destination MAC through Data/Pad.
CRC-32 covers Destination MAC through Data/Pad; preamble and SFD are outside the FCS. Corrupt a field to see what happens.