Installing GNS3 on Ubuntu 10.04+

First, you have to install the dynagen and python-qt4 packages.

 sudo apt-get install dynagen python-qt4

After that, you have to download GNS3 source for Linux. You can either
download it from their website or you can use the terminal to download it for you.

cd /opt
sudo wget
sudo tar -xjvf GNS3-0.7.4-src.tar.bz2?download
sudo mv GNS3-0.7.4-src /opt/GNS3

During my installation, the latest version is v0.7.4. Check this website first to see what is the latest version:
Create the following directories inside the GNS3 directory: Dynamips, IOS, Project, Cache and tmp.

cd /opt/GNS3
sudo mkdir Dynamips
sudo mkdir IOS
sudo mkdir Project
sudo mkdir Cache
sudo mkdir tmp

Add Read and Write permissions for the other users to the following directories: Project, tmp and IOS.

sudo chmod o+rw -R ./Project
sudo chmod o+rw -R ./tmp
sudo chmod o+rw -R ./IOS

Download Dynamips and make it executable:

cd Dynamips
sudo wget
sudo chmod +x ./dynamips-0.2.8-RC2-x86.bin

The latest version available is 0.2.8. Check this website first to see what is the latest version:
Install the Qemu package.

sudo apt-get install qemu

That ends the installation of GNS3. The next steps will tell you how to configure GNS3.
Create a launcher for GNS3
In the Desktop, create a new launcher and use the following command:

python "/opt/GNS3/gns3"

Or you can use the Main Menu configuration to add one.
Launch GNS3 and go to Edit > Preferences > Terminal Settings > Preconfigurated Terminal Commands
Select Gnome Terminal (Linux)
You will see that the Terminal Command will be similar to this:

gnome-terminal -t %d -e 'telnet %h %p' >/dev/null 2>&1 &

In the General Settings tab, look for Paths:
Configure the Project directory:


Image directory:


Go to the Dynamips tab and look for the Executable path:


Working Directory:


Go to the Capture tab and look for the working directory for capture files:


Go to the Qemu tab and set the Path to qemu:


Path to qemu-img


That’s it. You now have installed and configured GNS3 to run on Ubuntu. You just have to own an IOS to start setting up your routers.

Posted in Tips and Tricks

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Rodel Sales is a freelance I.T Professional . Start blogging on May 2013 to share my technical skills to other I.T professionals, and collect imperative guide from the internet world.
Blog Archieve
June 2013
« May   Jul »
%d bloggers like this: