6610-ns2 - Network Simulator - ns2 ECE6610 Sandeep Kakumanu...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Network Simulator - ns2 ECE6610 Sandeep Kakumanu GNAN research Lab
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Outline Discrete event Simulations ns-2 architecture Working with Tcl Working with C++ Important files Trace analysis Miscellaneous
Background image of page 2
Classification of simulation paradigms Computer simulation Discrete models Continuous time models event driven time-stepped
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Discrete event simulations: As-fast-as-possible execution of simulation as opposed to scaled real-time simulation. Event based scheduling. A single queue of events. Each event has a time stamp. Chronological execution of events. An event might create more events. These new events are inserted into the queue.
Background image of page 4
Network Simulators The are a number of network simulators available. Some of them are: - ns2 (open- source, C++/tcl) - ns3 (open-source, C++) - OPNET (closed-source, C) - GloMoSim (open-source, C) - GTNetS (open-source, C++) - etc
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ns-2: Introduction NS-2: network simulator version 2 - Discrete event simulator - Packet level simulation Features - Open source - Scheduling, routing and congestion control - Wired networks: P2P links, LAN - Wireless networks: terrestrial (ad-hoc, cellular; GPRS, UMTS, WLAN, Bluetooth), satellite - Emulation and trace
Background image of page 6
Ns-2 Paradigm Object-oriented programming - Protocol layering Modularity and extensibility - Large scale simulation Maintenance and reusability Split-language programming - Scripting language (Tcl) - System programming language (C++)
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ns-2: Split Languages Tcl scripts (Tcl/OTcl) - Interpreted (interactive) - Setup and configuration C codes (C/C++) - Compiled (efficient) - Algorithms and protocols TclCL (OTcl/C++) - Link Tcl/OTcl scripts and C/C++ codes - Provide a layer of C++ glue over OTcl
Background image of page 8
NS-2: Split Objects OTcl C++ Pure OTcl objects Pure C++ objects OTcl/C++ split objects NS-2 TclCL linkage
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
TK8 OTcl TclCL Tcl8 ns-2 nam-1 tcl ex test lib ... ... examples
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/14/2009 for the course ECE 6610 taught by Professor Staff during the Fall '08 term at Georgia Institute of Technology.

Page1 / 31

6610-ns2 - Network Simulator - ns2 ECE6610 Sandeep Kakumanu...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online