Question 1
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 ___________. [GATE || 2022 NAT || 2-mark]
33
Question 2
The maximum number of IPv4 router addresses that can be listed in the record route (RR) option field of an IPv4 header is __________. [ GATE||2017||Set 2|| NAT || 1-mark ]
9
Question 3
Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls close to terminate the connection and a FIN segment is sent to the TCP server. Server-side TCP responds by sending an ACK, which is received by the client-side TCP. As per the TCP connection state diagram (RFC 793), in which state does the client-side TCP connection wait for the FIN from the server-side TCP? [GATE||2017|| Set 1 || MCQ || 1-mark ]
LAST-ACK
TIME-WAIT
FIN-WAIT-1
FIN-WAIT-2
Question 4
Consider a long-lived TCP session with an end-to-end bandwidth of 1 Gbps = (10^9 bits per second). The session starts with a sequence number of 1234. The minimum time (in seconds, rounded to the closest integer) before this sequence number can be used again is [GATE||2018 NAT || 1-mark]
34
Question 5
Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note the cwnd stands for the TCP congestion window and MSS denotes the Maximum Segment Size.
(i) The cwnd increases by 2 MSS on every successful acknowledgment.
(ii) The cwnd approximately doubles on every successful acknowledgment.
(iii) The cwnd increases by 1 MSS every round trip time.
(iv) The cwnd approximately doubles every round trip time.
Which one of the following is correct? [GATE||2018 MCQ || 1-mark]
Only (ii) and (iii) are true
Only (i) and (iii) are true
Only (iv) is true
Only (i) and (iv) are true
Question 6
Match the following:
Field
P. UDP Header’s Port Number
Q. Ethernet MAC Address
R. IPv6 Next Header
S. TCP Header’s Sequence Number
Lengths in bits
i. 48
ii. 8
iii. 32
iv. 16 [GATE|| 2018 MCQ || 1-mark]
P-III, Q-IV, R-I, S-I
P-II, Q-I, R-IV, S-III
P-IV, Q-I, R-II, S-III
P-IV, Q-I, R-III, S-II
Question 7
Consider three machines M, N, and P with IP addresses 100.10.5.2, 100.10.5.5, and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the three machines. Which one of the following is true? [GATE|| 2019 MCQ || 2-mark]
M, N and P all belong to the same subnet
Only N and P belong to the same subnet
M, N, and P belong to three different subnets
Only M and N belong to the same subnet
Question 8
An organization requires a range of IP addresses to assign one to each of its 1500 computers. The organization has approached an Internet Service Provider (ISP) for this task. The ISP uses CIDR and serves the requests from the available IP address space 202.61.0.0/17. The ISP wants to assign an address space to the organization which will minimize the number of routing entries in the ISP’s router using route aggregation. Which of the following address spaces are potential candidates from which the ISP can allot any one to the organization?
[GATE || 2020 MCQ || 2-mark]
I. 202.61.84.0/21
II. 202.61.104.0/21
III. 202.61.64.0/21
IV. 202.61.144.0/21
I and IV only
III and IV only
I and II only
II and III only
Question 9
Consider a TCP connection between a client and a server with the following specifications: the round trip time is 6 ns, the size of the receiver advertised window is 50 KB, slow-start threshold at the client is 32 KB, and the maximum segment size is 2 KB. The connection is established at time t = 0. Assume that there are no timeouts and errors during transmission. Then the size of the congestion window (in KB) at time t + 60 ms after all acknowledgments are processed is __________. [GATE || 2020 NAT || 2-mark]
44
Question 10
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? [GATE||2021||SET1||MSQ||2MARKS]
If the client sends a packet after the server reboot, it will receive a FIN segment.
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.
There are 47 questions to complete.