Compute The Value of UDP Checksum For Given Pseudoheader Plus UDP Datagram. The Values of T and E Are (01010100) and (01000101) Respectively
Compute The Value of UDP Checksum For Given Pseudoheader Plus UDP Datagram. The Values of T and E Are (01010100) and (01000101) Respectively
The values
of T and E are (01010100)2 and (01000101)2 respectively.
153.18.8.105
171.2.14.10
All 0’s 17 15
1087 13
15 All 0’s
T E E T
T E T Pad with 0’s
2.Answer the following questions related to the FSM’s for the Go-back-N protocol with m = 6.
Assume each event is independent.
a. The sending machine is in the ready state with S f = 10 and Sn = 15. A time-out occurs. How
many packets are to be resent? What are their sequence numbers?
b. The sending machine is in the blocking state with Sf = 14 and Sn = 21. What is the size of the
window?
c. The sending machine is in the blocking state with Sf = 14 and Sn = 21. An ACK with ackNo =
18 arrives. What are the next values of Sf and Sn? What is the state of the sending machine?
d. The receiving machine is in the ready state with Rn = 16. A packet with sequence number 16
arrives. What is the next value of Rn? What is the response of the machine to this event?
3. Answer the following questions related to the FSM’s for the Selective-Repeat protocol with m
= 7 bits. Assume each event is independent.
a. The sending machine is in the ready state with Sf = 10 and Sn = 15. An ACK with ackNo = 13
arrives. What are the next values of Sf and Sn? What is the action in response to this event?
b. The sending machine is in the blocking state with Sf = 14 and Sn = 21. What is the size of the
window?
c. The sending machine is in the blocking state with Sf = 14 and Sn = 21. An ACK with ackNo =
14 arrives. Packets 15 and 16 have been already acknowledged. What are the next values of S f
and Sn? What is the state of the sending machine?
d. The receiving machine is in the ready state with Rn = 16. The size of the window is 8. A
packet with sequence number 16 arrives. What is the next value of Rn? What is the response of
the machine to this event?