Posts

Showing posts from May, 2013

Installing NS-2 on Ubuntu

Image
In this year I started following the Master of Computer Science (MCS) at University of Colombo School of Computing and these days I'm following a module named "Advanced Concepts in Data Communication Networks"

The lecturer asked us to install a program called NS-2 and to play around with it as we will get an assignment on it soon!

As usual when I hear a new name, I just googled for it and found the official website: http://www.isi.edu/nsnam/ns/

What is NS-2?
NS-2 is a Network Simulator. According to Wikipedia, NS-2 is a "discrete event network simulator" and the latest available version as of now is NS-3, which is available at http://www.nsnam.org/
The difference between NS-2 and NS-3
The FAQ at www.nsnam.org clearly mentions the difference between NS-2 and NS-3. NS-3 is a new software development effort and uses C++ programs or python scripts to define simulations. However NS-2 uses OTcl for scripts. 
So the most important thing here is that NS-2 scripts will…

OpenStack Single-Node Installation with DevStack

In my previous post, I explained how to install OpenStack in Multi-Node environment with DevStack.

If you want to install the OpenStack in a Single Machine, you can follow the same steps for the Controller Node Installation in my previous post.

You can omit the "MULTI_HOST=1" line from the localrc.

For example, following is a "localrc" configuration used to install OpenStack in a single machine.


HOST_IP=10.100.0.29 FLAT_INTERFACE=eth0 FIXED_RANGE=192.168.17.0/25 FIXED_NETWORK_SIZE=126 FLOATING_RANGE=10.100.0.64/28 ADMIN_PASSWORD=labstack MYSQL_PASSWORD=root RABBIT_PASSWORD=rabbitmq SERVICE_PASSWORD=supersecrete SERVICE_TOKEN=token