Posts

Showing posts with the label ns2

STEPS TO INSTALL NS2 ON MAC

STEPS TO INSTALL NS2 ON MAC Now a days, MAC OS conquering the world. So it is needed to adapt software to be compatible with MAC OS. Older NS2 versions are not compatible with this and also installing is little bit harder because of necessity of setting and configuring too many setup and configuration files. But after researches and latest upgrades, it is easy to install new version of ns2[ns2.35 RC8] on mac os.  For installing ns2, we need a developer package called as "XCODE" . And we can download it easily from apple developer website   http://developer.apple.com/xcode/   So, first download xcode and after that download NS2 version from following link;  http://www.isi.edu/nsnam/dist/release-2.35/RC8/ Installation Steps 1. Download and install xcode. 2. Download ns-2.35-RC8.tar.gz.and untar it using command. 3. Execute the command ./install inside the directory i.e       cd Desktop       cd ns-allinone-2.35-RC8  ...

STEPS TO INSTALL NS2 ON LINUX

STEPS TO INSTALL NS2 ON LINUX 1) Download ns-allinone-2.35 from :   http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download 2)  Extract the downloaded zip file ns-allinone-2.35.tar.gz file to desktop. 3)  Now you need to download some essential packages for ns2,these packages can be downloaded by using the following command : applications>accessories>terminal or dashhome>trminal then type the below line on the terminal window     " sudo apt-get install build-essential autoconf automake libxmu-dev libtool gcc "     or type this command     " sudo apt-get install autoconf automake gcc g++ build-essential libxmu-dev libtool libxt-dev " 4)  Now change your directory(here i have already extracted the downloaded files to desktop,so my location is desktop) type the following codes in the command window to install NS2.     cd Desktop    ...

SOFTWARE DEFINED NETWORKS SDN SIMULATION IN NS2

Image
SOFTWARE DEFINED NETWORKS SDN SIMULATION IN NS2 Hi,   Today we are going to have a look on software defined network simulation. Before that I will explain what a software defined network means? Software-defined networking  ( SDN ) is an approach to computer networking that allows network administrators to manage network services through abstraction of lower-level functionality. SDN is meant to address the fact that the static architecture of traditional networks doesnt support the dynamic, scalable computing and storage needs of more modern computing environments such as data centers. This is done by decoupling or disassociating the system that makes decisions about where traffic is sent (the control plane) from the underlying systems that forward traffic to the selected destination (the data plane). SDN was commonly associated with the OpenFlow protocol (for remote communication with network plane elements for the pu...

STATISTICAL ANALYSIS USING RANDOM SETTINGS IN NS2

Image
STATISTICAL ANALYSIS USING RANDOM SETTINGS IN NS2 While running ns2, we always get the same results as much we run with the same parameters. If we need to get different results for running with same parameters,we need to add some random property in our scripting. By using this property, we can check what goes wrong at an exact point. Normally in ns2, simulations are under three categories; DETERMINISTIC SETTING This setting is the default setting of ns2 and we get the same output in every run. This simulation scenario is usually convenient for debugging process and to locate errors that occurred in simulation codes or to study about complex nature of networks. So while running in deterministic setting, we will get same results on every time and which helps easy to analysis. RANDOM SETTING In case of a statistical analysis, we are forced to simulate a simulation scenario several times and to find out mean & variance. By using deterministic setting we are not able to do this because ...