Experiment-1: Data Communication and Networks Lab Data Communication & Network Lab by Ravinder Nath Rajotiya - February 16, 2020April 6, 20200 Experiment – 1: Introduction to Computer Network laboratory: Introduction to Discrete Event Simulation, Discrete Event Simulation Tools - ns2/ns3, Omnet++ Objective: To briefly describe the role of network simulator To provide a list of different simulators and give a brief introduction of NS2/NS3 and OMNET++ to provide resource of the network simulator NS-2 To give all dependency details for installing the NS To give installation steps of the NS Outcome: After doing this experiment student will be able to : understand the various simulators and their installation to work on the basic commands related to network simulators Watch the result in various files such as .tr and .nam files To see the plot on the animator (NAM) Introduction to Computer Network Laboratory Simulators: Computer
Experiment 5: Create a LAN of 6 nodes in NS-2.35 Data Communication & Network Lab by Ravinder Nath Rajotiya - February 16, 2020April 6, 20200 Experiment 5: Objective: To Create a LAN of 6 nodes in NS-2.35, attach the traffic and simulate using NAM Outcome: Students will be able to: Understand the algorithm Write the TcL Script Write the scenario simulate using NAM and analyse Write AWK to analyse the collecetd .tr database file Introduction: In Bus Network Topology a single cable is used to connect all devices on the net. This cable is often referred to as the network Backbone. When communication occurs between nodes the device sending the message broadcasts to all nodes on the network, but only the desired recipient digests the message. Advantages of this type of Physical Topology include ease of installation and minimization of the required cabling. Further, failure of a node attached to the
Experiment 4: Using Free Open Source Software tools for network simulation Data Communication & Network Lab by Ravinder Nath Rajotiya - February 16, 2020April 6, 20200 Experiment-4: Objective: Using Free Open Source Software tools for network simulation – I Preliminary usage of the tool ns-2 Simulate telnet and ftp between N sources - N sinks (N = 1, 2, 3). Evaluate the effect of increasing data rate on congestion. Outcome: At the end of this experiment students will be able to: Understand the algorithm Write the TCL scrip fo the given scenario Simulate the scenario using NAM Write the the AWK scrip for analyzing the scenario data Specifications: An Otcl program experiment-4.tcl used to simulate the network in problem. A simulation is defined by a Tcl program. To simulate a four node point-to-point network the links are connected as: n0-n2,n1-n2 and n2-n3. Hence this network consists of 4 nodes (n0,n1,n2,n3) as
Experiment 3: Simulating the effect of Queuing disciplines on network performance Data Communication & Network Lab by Ravinder Nath Rajotiya - February 16, 2020April 6, 20200 Experiment-3 : Simulating the effect of Queuing disciplines on network performance Objective: # Write a simple tcl script that creates the simple network configuration and runs the simulation scenario shown below: Outcome: At the end of this experiment students will be able to: Understand the algorithm Configure the network and associated traffic develop the code using NS2 Analyse the data collected using AWK scrip Specifications: This network consists of 4 nodes (n0, n1, n2, n3) as shown in above figure 3.1. The duplex links between n0 and n2, and n1 and n2 have 2 Mbps of bandwidth and 10 ms of delay. The duplex link between n2 and n3 has 1.7 Mbps of bandwidth and 20 ms of delay. Each node uses a Drop-Tail queue, of
Experiment-2: Evaluate the effect of increasing data rate on congestion Data Communication & Network Lab by Ravinder Nath Rajotiya - February 7, 2020April 6, 20200 Experiment-2 Using Free Open Source Software tools for network simulation – I Preliminary usage of the tool ns3 Simulate telnet and ftp between N sources - N sinks (N = 1, 2, 3). Evaluate the effect of increasing data rate on congestion. Objectives Get a basic understanding of the way objectives interact in ns. Lay the foundations for more complicated simulations. Create a script that simulates the simplest topology Network: #Create NS Object : set ns [new Simulator] #Open the nam trace file set nf [open out.nam w] $ns namtrace-all $nf #Define a 'finish' procedure proc finish {} { global ns nf $ns flush-trace #Close the trace file close $nf #Execute nam on the trace file exec nam –a out.nam & exit 0 } #Create two nodes set n0 [$ns node] set n1 [$ns node] #Create a duplex link between the