0% found this document useful (0 votes)
32 views

Assignment 1

This document provides instructions for an assignment to evaluate network throughput using the ns-3 network simulator. Students are asked to modify the first.cc example to calculate throughput using the FlowMonitorHelper class, passing packet size, interval, and max packets as command line arguments. Students should generate traffic with packet sizes between 128-4096 bytes and measure link layer performance, considering all communication pairs. The laboratory report should include the ns-3 code, a graph generated in GnuPlot, and a discussion of the results.

Uploaded by

Tushar Sarma
Copyright
© © All Rights Reserved
0% found this document useful (0 votes)
32 views

Assignment 1

This document provides instructions for an assignment to evaluate network throughput using the ns-3 network simulator. Students are asked to modify the first.cc example to calculate throughput using the FlowMonitorHelper class, passing packet size, interval, and max packets as command line arguments. Students should generate traffic with packet sizes between 128-4096 bytes and measure link layer performance, considering all communication pairs. The laboratory report should include the ns-3 code, a graph generated in GnuPlot, and a discussion of the results.

Uploaded by

Tushar Sarma
Copyright
© © All Rights Reserved
You are on page 1/ 1

Assignment -1

Use the file */ns-allinone-3.28/ns-3.28/examples/tutorial/first.cc. This example file creates a


simple network topology with a few nodes. Study the source code of this example to find out
different configuration parameters. With reference to this code, evaluate the following variants
with the help of flow monitors. (Throughput: the amount of bytes transmitted over channel by
total time).
Design and Implementation Instructions:
Calculate Throughput with “FlowMonitorHelper Class Reference”.
Pass the input values of MaxPackets, Interval & PacketSize through Command line Arguments
only.
Using the [128, 256, 512, 1024, 2048, 4096 bytes] size packet flows for certain application layer
traffic generation rate measure the link layer performance or the network layer performance.
Therefore, consider all the point-to-point frames from all the communication pairs while
calculating the performance metrics. Consider appropriate simulator stop time.
Your laboratory report should include NS3 code (handwritten only), the graph (generated using
͞GnuPlot͟ only) and a discussion on the interpretation of the graph with respect to the
experiment.

You might also like