NETWORK SIMULATOR-2
NS2 is an open-source simulation tool that runs on Linux.
It is adiscreet event simulator targeted at networking research and
provides substantial support for simulation of routing, multicast protocols and IP protocols, such as UDP, TCP, RTP and SRM over wired andwireless (local and satellite) networks. It has many advantages that make it a useful tool, such as support for multiple protocols and the capability of graphically detailing network traffic. Additionally, NS2 supports several algorithms in routing and queuing. LAN routing and broadcasts are part of routing algorithms. Queuing algorithms include fair queuing, deficit round-robin and FIFO.
It is a
provides substantial support for simulation of routing, multicast protocols and IP protocols, such as UDP, TCP, RTP and SRM over wired and
NS architecture
Object-oriented & modular
pros: code reuse (e.g., TCP variants), maintenance
cons: performance (speed and memory), careful planning of modularity
Software structure
C++ for packet processing
• fast execution , detailed, full control over execution
• to make simulator scalable, packet processing must be done at C++ level
OTcl for control
• simulation setup, configuration, occasional actions (e.g., creating new TCP flows)
NS2 Goals
• To support networking research and education
– Protocol design, traffic studies , etc.
– Protocol comparison;
– New architecture designs are also supported.
• To provide collaborative environment
– Freely distributed, open source
– Increase confidence in result
No comments:
Post a Comment