Question 1 |
Suppose you are asked to design a new reliable byte-stream transport protocol
like TCP. This protocol, named myTCP, runs over a 100 Mbps network with Round
Trip Time of 150 milliseconds and the maximum segment lifetime of 2 minutes.
Which of the following is/are valid lengths of the Sequence Number field in the myTCP header?
Which of the following is/are valid lengths of the Sequence Number field in the myTCP header?
30 bits | |
32 bits | |
34 bits | |
36 bits |
Question 1 Explanation:
Question 2 |
Consider the data transfer using TCP over a 1 Gbps link. Assuming that the maximum segment lifetime (MSL) is set to 60 seconds, the minimum number of bits required for the sequence number field of the TCP header, to prevent the sequence number space from wrapping around during the MSL is
31 | |
32 | |
33 | |
34 |
Question 2 Explanation:
Question 3 |
Consider the three-way handshake mechanism followed during TCP connection establishment between hosts P and Q. Let X and Y be two random 32-bit starting sequence numbers chosen by P and Q respectively. Suppose P sends a TCP connection request message to Q with a TCP segment having SYN bit =1, SEQ number =X, and ACK bit =0. Suppose Q accepts the connection request. Which one of the following choices represents the information present in the TCP segment header that is sent by Q to P?
SYN bit =1, SEQ number =X+1, ACK bit =0, ACK number =Y, FIN bit =0 | |
SYN bit =0, SEQ number =X+1, ACK bit =0, ACK number =Y, FIN bit =1 | |
SYN bit =1, SEQ number =Y, ACK bit =1, ACK number =X+1, FIN bit =0 | |
SYN bit =1, SEQ number =Y, ACK bit =1, ACK number =X, FIN bit =0 |
Question 3 Explanation:
Question 4 |
Consider two hosts P and Q connected through a router R. The maximum transfer unit (MTU) value of the link between P and R is 1500 bytes, and between R and Q is 820 bytes.
A TCP segment of size 1400 bytes was transferred from P to Q through R, with IP identification value as 0x1234. Assume that the IP header size is 20 bytes. Further, the packet is allowed to be fragmented, i.e., Don't Fragment (DF) flag in the IP header is not set by P.
Which of the following statements is/are correct?
[MSQ]
A TCP segment of size 1400 bytes was transferred from P to Q through R, with IP identification value as 0x1234. Assume that the IP header size is 20 bytes. Further, the packet is allowed to be fragmented, i.e., Don't Fragment (DF) flag in the IP header is not set by P.
Which of the following statements is/are correct?
[MSQ]
Two fragments are created at R and the IP datagram size carrying the second fragment is 620 bytes. | |
If the second fragment is lost, R will resend the fragment with the IP identification value 0x1234. | |
If the second fragment is lost, P is required to resend the whole TCP segment. | |
TCP destination port can be determined by analysing only the second fragment. |
Question 4 Explanation:
Question 5 |
A TCP server application is programmed to listen on port number P on host S. A TCP client is connected to the TCP server over the network.
Consider that while the TCP connection was active, the server machine S crashed and rebooted. Assume that the client does not use the TCP keepalive timer. Which of the following behaviors is/are possible?
[MSQ]
Consider that while the TCP connection was active, the server machine S crashed and rebooted. Assume that the client does not use the TCP keepalive timer. Which of the following behaviors is/are possible?
[MSQ]
If the client was waiting to receive a packet, it may wait indefinitely. | |
The TCP server application on S can listen on P after reboot. | |
If the client sends a packet after the server reboot, it will receive a RST segment. | |
If the client sends a packet after the server reboot, it will receive a FIN segment. |
Question 5 Explanation:
There are 5 questions to complete.
Question no. 21 solution not match with gateoverflow .
answer will be 1100 .
Thank You dp kushwaha,
We have updated the answer.