SIMULATION OF DATA LINK LAYER ARQ TECHNIQUES

Progress Report Final Yr Project
Presented By:

Retaish Wali Neha Arya

About Data Link Layer Layer-2 of OSI model of networking Framing Physical addressing Error and Flow control Frame Synchronization .Introduction Our project titled Simulation Of Data Link Layer ARQ Techniques is aimed at simulating the actions of data link layer in controlling the data flow and errors by Automatic Repeat Request (ARQ) .

Sender is acknowledged of data reception. Selective Repeat . 2. 1. Receiver has received all data sent. Go Back N 3.Objective In transmission of data between two network nodes : Collisions & Erroneous packets Ensure that : 1. Stop and Wait 2. The 3 ARQ techniques are created to work on this hypothesis.

Resource Requirements Hardware Specifications : Processor RAM Hard Disk Resolution : 1.6GHz or faster : 1 GB (32 Bit) or 2 GB (64 Bit) RAM : 3GB of free space : 1024 x 768 or higher Software Specifications : Operating System : Windows Environment Front End : Visual Studio 2010 .

Module Classification There are three modules in our project 1. Go Back N 3. Stop and Wait 2. Selective Repeat .

Receiver : Receive correct frame & Transmit acknowledgment(ACK) 3. Else Re-transmit the frame . Stop And Wait Mechanism of Stop and Wait ARQ technique 1. Sender : ACK received before timeout : Go to Step 1.1. Sender : STOP after transmitting a single frame & Wait for ACK 2.

.

2. Sender : Only ACK s received: Go to Step 1 Else Re-transmit the damaged/Lost ACK frame & its followers . of frames specified by a Window Size No wait for ACK 2. Receiver : Transmit acknowledgment(ACK) for correct frame received Else Discard frames & transmit Negative ACK (NAK) 3. Sender : Send no. Go Back N Mechanism of Go Back N Flow technique 1.

.

Sender : Only ACK s received: Go to Step 1 Else Re-transmit only damaged /Lost ACK frame . Selective Repeat Mechanism of Selective Repeat Flow technique 1. Receiver : Transmit acknowledgment (ACK) for correct frame received Else Discard frames & transmit Negative ACK (NAK) 3. Sender : Send no. of frames specified by a Window Size No wait for ACK 2.3.

.

Snapshot .

.  Selective Repeat has advantage over Go Back N that N-fewer re-transmissions occur but carries a disadvantage of more complexity at sender and receiver  Go Back N sends multiple frames equivalent to window size(N)but single NAK leads to retransmission of N-frames.  Stop and Wait is simple to implement but inefficient due to wastage of bandwidth in transmitting duplicate frames.Conclusion Simulation of error/flow technique thus aims at assuring safety in transmitting data.

QUERIES ?  Thank You .

Sign up to vote on this title
UsefulNot useful