The RDT 2.2 protocol. Consider the rdt 2.2 sender and receiver below, with FSM transitions labeled in red. Also consider the sender and receiver timeline following the FSMs, where a green OK label indicates a message that is not corrupted, and a red corrupt label indicates a message that is corrupted. We are interested in the sequence number (0 or 1) of a data message, and the ACK number (0 or 1) of an ACK message for the messages sent at t= 2, 3, 4, 5 in the figure below.  Which of the following sequences of interleaved data sequence numbers and ACK numbers corresponds to those in the messages sent at t=2 (data sequence number); t=3 (ACK number), t=4 (data sequence number), and t=5 (ACK number)? Only one sequence is correct. explain 1, 1, 1, 1

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

The RDT 2.2 protocol. Consider the rdt 2.2 sender and receiver below, with FSM
transitions labeled in red. Also consider the sender and receiver timeline following the
FSMs, where a green OK label indicates a message that is not corrupted, and a red
corrupt label indicates a message that is corrupted. We are interested in the sequence
number (0 or 1) of a data message, and the ACK number (0 or 1) of an ACK message for
the messages sent at t= 2, 3, 4, 5 in the figure below. 

Which of the following sequences of interleaved data sequence numbers and ACK
numbers corresponds to those in the messages sent at t=2 (data sequence number); t=3
(ACK number), t=4 (data sequence number), and t=5 (ACK number)? Only one sequence
is correct. explain
1, 1, 1, 1
0, 0, 0, 0
1, 0, 1, 0
0, 1, 1, 0
1, 1, 1, 0
1, 1, 0, 1
1, 0, 0, 1
1, 0, 1, 1

S5
rdt_rev(revpkt)
&& not corrupt (revpkt)
&& isACK (revpkt, 1)
A
R3
rdt_rev(revpkt) &&
(corrupt (revpkt)||
S4) iSACK(revpkt,0))
udt_send(sndpkt)
rdt_rev (revpkt) &&
(corrupt (revpkt)||
has_seql (revpkt))
sndpkt-make_pkt
(ACK, 1, checksum)
udt_send (sndpkt)
SO
(RO)
Wait for
call 0 from
above
(S3)
rdt_send (data)
(R2)
sndpkt-make_pkt (0, data, checksum)
udt_send(sndpkt)
Wait for
ACK 1
RDT 2.2 sender
rdt_send (data)
Wait for
ACK 0
Wait for
I call 1 from
above
sndpkt-make_pkt (1, data, checksum)
udt_send (sndpkt)
Wait for
0 from
below
extract (revpkt, data)
deliver_data (data)
sndpkt make_pkt (ACK, 0, checksum)
udt_send(sndpkt)
rdt_rev (revpkt) && notcorrupt (revpkt)
&& has_seq0 (revpkt)
RDT 2.2
receiver
rdt_rev(revpkt) &&
(corrupt (revpkt) ||
isACK (revpkt, 1))
udt_send (sndpkt)
rdt_rev (revpkt)
& & notcorrupt (revpkt)
&& isACK (revpkt,0)
extract (rcvpkt, data)
deliver_data (data)
sndpkt make_pkt (ACK,1, checksum)
udt_send(sndpkt)
R1
Wait for
1 from
below
rdt_rev (revpkt) && notcorrupt (revpkt)
&& has_seq1 (revpkt)
A
S1
S2
rdt_rev (revpkt) & &
(corrupt (revpkt) ||
has_seq0(revpkt))
D
sndpkt-make_pkt (ACK, 0, checksum)
udt_send(sndpkt)
Transcribed Image Text:S5 rdt_rev(revpkt) && not corrupt (revpkt) && isACK (revpkt, 1) A R3 rdt_rev(revpkt) && (corrupt (revpkt)|| S4) iSACK(revpkt,0)) udt_send(sndpkt) rdt_rev (revpkt) && (corrupt (revpkt)|| has_seql (revpkt)) sndpkt-make_pkt (ACK, 1, checksum) udt_send (sndpkt) SO (RO) Wait for call 0 from above (S3) rdt_send (data) (R2) sndpkt-make_pkt (0, data, checksum) udt_send(sndpkt) Wait for ACK 1 RDT 2.2 sender rdt_send (data) Wait for ACK 0 Wait for I call 1 from above sndpkt-make_pkt (1, data, checksum) udt_send (sndpkt) Wait for 0 from below extract (revpkt, data) deliver_data (data) sndpkt make_pkt (ACK, 0, checksum) udt_send(sndpkt) rdt_rev (revpkt) && notcorrupt (revpkt) && has_seq0 (revpkt) RDT 2.2 receiver rdt_rev(revpkt) && (corrupt (revpkt) || isACK (revpkt, 1)) udt_send (sndpkt) rdt_rev (revpkt) & & notcorrupt (revpkt) && isACK (revpkt,0) extract (rcvpkt, data) deliver_data (data) sndpkt make_pkt (ACK,1, checksum) udt_send(sndpkt) R1 Wait for 1 from below rdt_rev (revpkt) && notcorrupt (revpkt) && has_seq1 (revpkt) A S1 S2 rdt_rev (revpkt) & & (corrupt (revpkt) || has_seq0(revpkt)) D sndpkt-make_pkt (ACK, 0, checksum) udt_send(sndpkt)
sender
t = 0
t=2-
t=4-
t=6
OK
HACK
corrupt
←ACK
corrupt
ACK
QK
data
OK
data
ef
data
data
receiver
-t=1
-t=3
-t = 5
Transcribed Image Text:sender t = 0 t=2- t=4- t=6 OK HACK corrupt ←ACK corrupt ACK QK data OK data ef data data receiver -t=1 -t=3 -t = 5
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY