CS330 01                          Assignment 2: Network Datalink Protocol Simulation

1. Read the cnet manual and run the stopandwait example application of the network datalink simulation system at playground

1) Download NX-client for window from http://www.nomachine.com/download.php

2) Set up NX-client on your PC

    Session name: playground

    Host: playground.bradley.edu

3) Copy the /usr/local/share/cnet/examples/stopandwait to your directory cs635

    cp -r /usr/local/share/cnet/examples/stopandwait cs635

4) Run the cnet stopandwait example

    cd cs635

    cnet –s STOPANDWAIT

   

More documents can be found on the cnet web site: http://www.cs.uwa.edu.au/cnet/

Write a Microsoft report to describe the cnet and run results. You need to make the screen shots for your report with runs with two different sets of node attributes
(message rate, min/max message size) and link attributes (propagation delay, prob(frame corruption), prob(frame loss)) and compare the results in a table in your report.

 

2. Modify the stopandwait.c program to a gobackn.c datalink protocol program using go-back n with only positive acknowledgments.

 

(Optional) Run the gobackn.c application program inside the cnet.

Write a Microsoft report to describe the gobackn.c application program structure and operations (program block diagram and major control flow).

(Optional) Submit the run results (screen shots) and compare its performance with the stop-and-wait protocol in a table.

Assignment hand in policies

Email in your report to the instructor on the due day.