We had seen in previous article framing, that to send packets from sender to the receiver framing is required. But the question was how the receiver will identify the starting and ending of a frame. For receiver, starting and ending of a frame is necessary to recognize the next frames transmitted by the sender.
So in this case Flag bits with bit stuffing framing method will support.
- In this method bit stuffing is used.
- When sender’s data link layer encounters five consecutive 1’s in the data, it automatically stuffs a 0 bit.
- At receiver end this stuffed 0 bit automatically deleted. As shown in the figure below.