Assignment 1

You are on page 1of 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