Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

EC 701 Data Communication and Networking Experiment 6: Name: Rishabh Khabya Roll No: 17BEC083 Date: 16/10/2020

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

EC 701 Data Communication and Networking

Experiment 6

Name: Rishabh Khabya


Roll No: 17BEC083
Date: 16/10/2020

Aim: To Evaluate Sliding Window Protocols in NS2.

1) List the information added in the header at Data Link Layer?


Ans:
1. Source Address of the Frame
2. Destination of the Frame.
3. Control bytes
: Kind, Sequence, Acknowledgment

2) Explain the concept of windowing?


Ans: Sliding window protocols are data link layer protocols for reliable and sequential
delivery of data frames. The sliding window is also used in Transmission Control
Protocol. In this protocol, multiple frames can be sent by a sender at a time before
receiving an acknowledgment from the receiver. The term sliding window refers to the
imaginary boxes to hold frames. Sliding window method is also known as windowing.

3) List the problems associated with Go Back to N protocol.


Ans: The problems associated with Go Back to N protocol is shown here.

1. If a frame is corrupted or lost in it, all subsequent frames have to be sent


again.
2. If it has a high error rate, it wastes a lot of bandwidth.
3. Channel Utilization is very low.
Figure 1 Trace File of Sliding Window Protocol

Figure 2 0.5 Mb Bandwidth

Figure 3 0.1 Mb Bandwidth

Conclusion: In this experiment I have learnt about the Sliding


window protocol and its types. The sliding Window protocol for
framing of data stream was implemented on the NS2 platform.
It consists of two types, the Go Back to N protocol as well as
the selective repeat protocol. But if there is a lot of error in the
frame, lots of bandwidth loss in sending the frames again. So,
we use the Selective Repeat ARQ protocol. If the receiver
receives a corrupt frame, it does not directly discard it. It sends
a negative acknowledgment to the sender

You might also like