You are sending two segments, A has 80 bytes and B has 40 bytes. Assume
cumulative acknowledgments, up to 127. What will be the new acknowledgment
number if B arrives first?
a. 167
b. 128
c. 127
d. 207
The acknowledgment number is the sequence number of the next byte the receiver expects to receive. The answer will depend on the sequence numbers of A and B.
Cumulative acknowledgment 127 means all bytes before 127 are received and the receiver is expecting bytes starting from 127. Now if we assume that A has sequence number 127 and B has sequence number 127 + 80 = 207, then if B is received first then the acknowledgment number will be again 127. And the answer would be (c). That is because the receiver ack' ing sequence number x acknowledges receipt of all data bytes less than (but not including) byte number x.
However, if B has a sequence number of 127, then the new acknowledge number is going to be 127 + 40 = 167. In that case answer (a) would be correct.
You are sending two segments, A has 80 bytes and B has 40 bytes. Assume cumulative...
Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment...
Answer the following question based on this assumption: 7: Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host...
Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up to and including byte 1029. Suppose Host A then sends three segments to Host B back-to-back. The first, second and third segments contain 1200, 150 and 80 bytes of data respectively. In the first segment, the sequence number is 1060, the source port number is 8080, and the destination port number is 80. Host B sends an acknowledgment whenever...
Consider a Host X sending three segments of 100 bytes of data each to Host Y over a TCP connection. Assume Host Y has no data to send to X. Suppose the sequence number is initially S = 90 and the acknowledgement number is initially A = 160. If the first segment is lost, show the exchange of all three segments between X and Y to achieve reliable data transfer. Draw the bounce diagram.
suppose host A sends two TCP segments back to host B over a TCP connection. the first segment has sequence number 30; the second has sequence number 50. how much data is in the first segment? suppose that the first segment is lost but the second segment is lost but the second segment arrives at B. in the acknowledgment that host B sends to host A, what will be the acknowledgment number? (5 marks) in TCP/IP
Problem 14: Consider sending a 2400-byte datagram into a link that has an MTU of 800 bytes. Suppose that the original datagram is stamped with the identification number 228. How many segments are generated? What are the values in the length, ID, fragment flag, and fragment offset in each fragment? (Assume 20 bytes of IP header)
ACC Question 10 12.5 pts Provide a numerical answer A client has in its sending buffer these equal sized segments with sequence numbers 15, 25, 35,45, 55 65, and 75. Based on congestion control and flow control, its offered window is 40 bytes. So far, the client sent segments with Sequence numbers 15, 25, and 35. The highest acknowledgement it received is 45 This client could send up to new byte(s). (Answer -1 if the client cannot send anymore new...
Assignment 4 - Problem Set Homework . Due in 15 hours 3/21 answered Close Question 2: Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up to and including byte 1059. Suppose Host A then sends three segments to Host B back-to- back. The first second and third segments contain 1200, 150 and 80 bytes of data respectively. In the first segment, the sequence number is 1060, the source...
2. A university computer science department has 3 Ethernet segments, connected by two transparent bridges into a linear network. One day, the network administrator quits and is hastily replaced by someone from the computer center, which is a token ring shop. The new administrator, noticing that the ends of the network are not connected, quickly orders a new transparent bridge and connects both loose ends to it, making a closed ring. What happens next. Explain your answer. 3. Let's assume...
Given three packets of size 1500 bytes each are ready inside Computer 1 to be transmitted onto Link 1. Computer 1 has zero processing delay. Assume each router has zero queuing and zero processing delay. Link 1 is a 10 Mbit/sec link and 5000 km long. Link 2 is 100 Mbits/sec and is 5000 km long. Link 3 is 1000 Mbits/sec and is 5000 km long. Propagation speed is 2 × 10 8 m/s. Assume a router has to receive...