network simulator 2
TRANSCRIPT
![Page 1: Network simulator 2](https://reader036.vdocument.in/reader036/viewer/2022083022/58aae8241a28abc73a8b4cbd/html5/thumbnails/1.jpg)
Network Simulator-2
Prepared byDeeksha poornashri-1MS13IS141Greeshma R J-1MS13IS142Shakunthala B V-1MS14IS412Shantha-1MS14IS413
![Page 2: Network simulator 2](https://reader036.vdocument.in/reader036/viewer/2022083022/58aae8241a28abc73a8b4cbd/html5/thumbnails/2.jpg)
INTRODUCTION
Network simulator (Ns)• Ns is a discrete event simulator that is used by
networking research to simulate wired, wireless and satellite networks.
• Ns allows for the simulation of various protocols, applications, routing, queue types etc.
• A graphical front end has been developed for use with Ns known as network animator.
![Page 3: Network simulator 2](https://reader036.vdocument.in/reader036/viewer/2022083022/58aae8241a28abc73a8b4cbd/html5/thumbnails/3.jpg)
Network simulator version 2(Ns-2)
• In 1996-97, ns version 2(ns-2) was initiated based on a refactoring by Steve McCanne.
• Use of Tcl was replaced by object Tcl, an object oriented dialect of Tcl.
• The core of ns-2 is also written a C++, but the C++ simulation objects are linked to shadow objects in oTcl and variables can be linked between both language realms.
• Simulation scripts are written in the oTcl language an extension of the Tcl scripting language.
![Page 4: Network simulator 2](https://reader036.vdocument.in/reader036/viewer/2022083022/58aae8241a28abc73a8b4cbd/html5/thumbnails/4.jpg)
Congestion• Congestion, in the context of network, refers
to a network state where a node or link carries so much data that it may deteriorate network service quality, resulting in queing delay frame or data packet loss and the blocking of new connections.
• Congestion occurs when bandwidth is insufficient and network data traffic exceeds capacity
![Page 5: Network simulator 2](https://reader036.vdocument.in/reader036/viewer/2022083022/58aae8241a28abc73a8b4cbd/html5/thumbnails/5.jpg)
Congestion has been described as a fundamental effect of limited network resources, especially router processing time and link througput.Avoiding network congestion and collapse requires two major components:
a. Routers capable of re-ordering or dropping data packets when received rates reach critical levels.
b. Flow control mechanisms that respond appropriately when data flow rates reach critical level.