Assume that the link layer uses the flag bytes with byte stuffing approach for f
ID: 3739241 • Letter: A
Question
Assume that the link layer uses the flag bytes with byte stuffingapproach for framing, with the following details:
The beginning of a data frame is indicated by the special flag bytes: DLESTX
The end of a data frame is indicated by the special flag bytes: DLEETX
The special escape bytes DLE are used for escaping accidental occurrences of either the flag bytes or the escape bytes within the data.
For simplicity, assume that no other header/trailer information is added to the data.
The following byte stream represents data received by the link layer of a computer. For simplicity, assume that there are no errors in the byte stream. Retrieve the original data of each frame within this received byte stream.
DLESTXASCDLEDLESETXDLEDLESTXDLEETXDLESTXATCPDLEETX
IMPORTANT: List each frame separately. If you do not have any more frames to list, enter N/A as your answer.
Do not include any leading or trailing spaces in your answer.
Frame Number
Original Data
1
2
3
4
Frame Number
Original Data
1
2
3
4
Explanation / Answer
If you have any doubt, please give me comment....
Frame Number
Original Data
1
ASCDLESETXDLESTX
2
ATCP
3
N/A
4
N/A
Explanation:
DLESTXASCDLEDLESETXDLEDLESTXDLEETXDLESTXATCPDLEETX
Frame:1
Frame Start with DLESTX ASCDLEDLESETXDLEDLESTXDLEETXDLESTXATCPDLEETX
Data : ASC DLEDLESETXDLEDLESTXDLEETXDLESTXATCPDLEETX
DLE is escape bye D will escape DLESETXDLEDLESTXDLEETXDLESTXATCPDLEETX
Data DLESETX DLEETXDLESTXATCPDLEETX
DLEETX is end of frame DLESTXATCPDLEETX
Frame 2:
DLESTX is start of frame ATCPDLEETX
Data: ATC DLEETX
DLEETX is end of frame
Frame Number
Original Data
1
ASCDLESETXDLESTX
2
ATCP
3
N/A
4
N/A
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.