Sunday 15 September 2013

NS2 : Simulating TCP in Wireless Networks


   This post provides the NS2 Script (Tcl Script) to simulate a wireless network using TCP.

Execution of the Script

Topology in NAM

Data Transfer in NAM


NS2 : Simulating UDP in Wireless Networks


   This post provides the NS2 Script (Tcl Script) to simulate a Wireless Network using UDP.

Execution of the Script

Topology in NAM


Data Transfer in NAM


OTcl Class Program


   OTcl refers to the object oriented extension of TclIt is used in Network Simulator (NS2). This post provides an example program involving OTcl Classes.

Program Execution


Tcl Program to Find the Square of a Number


      This post discusses the Tcl program to find the Square of a Number. 

Program Execution




NS2 : Simulating a Network using SFQ Queue Management Algorithm


   In this post the NS2 Script (TCL Script) to simulate a wired network using SFQ (Stochastic Fairness Queuing) queue management algorithm is provided.

Executing the TCL Script

Topology in NAM

Data Transfer in NAM

   
Click here to download the NS2 Script.

NS2 : Simulating Multicast in Wired Networks


      In this post I have added the NS2 Script (TCL Script) to simulate multicast in wired networks.   

Executing the TCL Script

Topology Shown in NAM

Data Transfer in NAM

Data Transfer in NAM


Thursday 5 September 2013

NS2 : Simulating a Network using RED Queue Management Algorithm


   In this post the NS2 Script (TCL Script) to simulate a wired network using RED (Random Early Discard) queue management algorithm is provided.

Executing the TCL Script

Topology in NAM Animator

NAM Showing Packet Drop



NS2 : Simulating a Network using Drop Tail Queue Management Algorithm


   This post contains NS2 Script (TCL Script) to simulate a wired network using Drop Tail queue management algorithm.

Executing the TCL Script

NAM Animator Showing the Topology

NAM Showing Data Transfer