Friday, September 2, 2011

NS2 Directory Structure


OTHER NETWORK SIMULATORS


OTHER NETWORK SIMULATORS
OPNET 
• Leading Commercial Software
• Support Windows and Unix
• Graphical Interface
• Not free


GloMoSim 
• Simulation enviroment for wireless network
• Scalable to support thousands of nodes
• Using layered approach to build different simulation layers
• Free for educational users

NS MODELS


NS MODELS
Traffic models and applications:
Web, FTP, telnet, constant-bit rate, real audio
Transport protocols:
unicast: TCP (Reno, Vegas, etc.), UDP
Multicast: SRM
Routing and queueing:
Wired routing, ad hoc rtg and directed diffusion
queueing protocols: RED, drop-tail, etc
Physical media:
Wired (point-to-point, LANs), wireless (multiple propagation models), satellite

NS FUNCTIONALITIES


NS FUNCTIONALITIES
Wired world
Routing DV, LS, PIM-SM
Transportation: TCP and UDP
Traffic sources:web, ftp, telnet, cbr, stochastic
Queuing disciplines:drop-tail, RED, FQ, SFQ, DRR
QoS: IntServ and Diffserv
Emulation


Wireless
Ad hoc routing and mobile IP
Directed diffusion, sensor-MAC


Tracing, visualization, various utilities

PLATFORMS SUPPORTED


PLATFORMS SUPPORTED
Most UNIX and UNIX-like systems
FreeBSD 
Linux
Solaris


Windows 98/2000/2003/XP
Cygwin required 

NS PROGRAMMING STRUCTURE


NS PROGRAMMING STRUCTURE
● Create the event scheduler
● Turn on tracing
● Create network topology
● Create transport connections
● Generate traffic
● Insert errors

NS2 SIMULATION FLOWCHART