Welcome to Delicate template
Just another WordPress site

GNS3 and Qemu On ubuntu 10.10 64bit

July 12th, 2011 | Posted by admin in Linux

Seeing as OVH had gotten rid of the setup fees on their servers for a short while, i decided to grab myself a new server, its got an i5 in it and 16GB of ram and a 2TB HDD. I didnt actually know what to do with such a beasty machine, but i figured, seeing as im working on my CCNA, id use it as a platform for testing using GNS3 and Qemu.
So here is a little run down on install GNS3 With qemu support on 64bit Ubuntu 10.10

So first obviously, we need to make sure our machine is up to date:

sudo apt-get update
sudo apt-get upgrade

So once your happy your system is up to date, we can continue with installing GNS3

sudo apt-get install python
sudo apt-get install qt4-dev-tools
sudo apt-get install pyqt4-dev-tools

Your system will likely already have python installed, But there is no harm in checking that.

sudo apt-get install dynagen python-qt4

So that is basicly all the dependencies installed, Now to actually install GNS3

First just change directory to /opt

cd /opt

Then download the GNS3 Source

sudo wget http://space.dl.sourceforge.net/project/gns-3/GNS3/0.7.3/GNS3-0.7.3-src.tar.bz2

Next we are just moving the source around and tidying up our system

This Extracts the Source

sudo tar -xjvf GNS3-0.7.3-src.tar.bz2

This Removes the .tar.bz2

sudo rm GNS3-0.7.3-src.tar.bz2

And this moves the source to another folder

sudo mv GNS3-0.7.3-src /opt/GNS3

Next we just need to create and apply the correct permissions to our working directories

cd /opt/GNS3
sudo mkdir Dynamips
sudo mkdir IOS
sudo mkdir Project
sudo mkdir Cache
sudo mkdir tmp
sudo chmod o+rw -R ./Project
sudo chmod o+rw -R ./tmp
sudo chmod o+rw -R ./IOS

Now we need to install dynamips and make it executable.


cd Dynamips
wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-amd64.bin
sudo chmod +x ./dynamips-0.2.8-RC2-amd64.bin


cd Dynamips
sudo wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-x86.bin
sudo chmod +x ./dynamips-0.2.8-RC2-x86.bin

Now we just need to install Qemu with

sudo apt-get install qemu

Thats it, Thats both GNS3 and Qemu installed. All thats left to do now is to make a few changes to the GNS3 Config and we are done.
The first thing we should really do is make a launcher for GNS3 on your desktop. This is done by

Right click on Desktop;
Select Create Launcher;
In the ‘Name’ Just use GNS3
In the Command Type: python “/opt/GNS3/gns3″

Now that you have the launcher made, Double click it to bring up GNS3.
The first thing you need to change is the Terminal that being used, So select the terminal tab at the top and type in the command box:

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

Then apply that.

Now, in the ‘Paths’ Section, change the following

Project directory


Image Directory


Now Select the ‘Dynamips’ Option on the left.
On 64BIT versions, set this to


And on 32BIT systems, set it to


Now also Change the ‘Working Directory’ to


Then select the ‘Capture’ Option on the left,
And change the working directory to


All that we have to do now is change the directories for Qemu, So select Qemu on the left,
And change –


Qemu-img path


And thats it. All working fine.

Bookmark and Share

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>