IP addresses and Fragmentation
https://cexpertvision.com/2021/03/19/numerical-practice-datagram-fragments/
Data link layer
1Q. A link has a transmission speed of 106 bits/sec. It uses data packets of size 1000 bytes each. Assume that the acknowledgement has negligible transmission delay, and that its propagation delay is the same as the data propagation delay. Also assume that the processing delays at the nodes are negligible. The efficiency of the stop-and-wait protocol in this setup is exactly 25%. The value of the one-way propagation delay (in milliseconds) is ___ Ans 12
2Q. Consider the sliding window algorithm where sender window size is 9 and receiver window size is 7 and no out of order arrivals. What is the smallest value for maximum sequence number?
3Q. Suppose two hosts are connected by a point-to-point link and they are configured to use stop and wait
- Longer link length and lower transmission rate
- Longer link length and higher transmission rate
- Shorter link length and lower transmission rate
- Shorter link length and higher transmission rate
5Q. A sender uses the stop and wait ARQ protocol for reliable transmission of frames. Frames are of size 100 bytes and the transmission rate at the sender is 20 Kbps. Size of an acknowledgement is 10 bytes and the transmission rate at the receiver is 8 Kbps. The one way propagation delay is 10 msec.
Assuming no frame is lost, the sender throughput is ________ bytes/sec.
6Q. In the GO back N ARQ sender is sending the 20 packets to the destination with a window size of 4. Every sixth packet is lost and after a packet loss sender is sending one dummy packet outside the window for ensuring everything is correct [ dummy packet is an outside packet not the part of the window]. How many number of transmissions will be there?
Transport layer questions:
1Q. Assume a TCP implementation over a 10Gbps link with one way dealy of 80ms if TCP receiver window size is 2MB and TCP send 1KB packet then how many RTT does it take until slow start phase open the congesion windows of 2MB. Assume no congestion and no loss of packet.a) 11 RTT b) 10 RTT c) 12 RTT d) 13 RTT solution
3Q. Which layer connects the network support layers and user support layers ? solution
- transport layer
- network layer
- data link layer
- session layer
5Q. Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The first segment has sequence number 90; the second has sequence number 110.
- How much data is in the first segment?
- Suppose that the first 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? sol