Mon 28 Jan 2008
This tutorial will demonstrate how to install GNS3 Router Emulation Software on a Linux platform. I used Ubuntu 7.10 because I use it as my home OS and the most user friendly.

Installing GNS on Ubuntu 7.10 is as simple as:
1) Download GNS3 source files
2) Download dynamips binary for linux
3) Change the dynamips binary to allow execution.
4) Double-Click gns3
5) Set the location for the dynamips binary in the GNS3 preferences.
6) Add an IOS image to the GNS3 IOS library
7) Create your LAB
Enter emulation mode.

(21 votes, average: 4.05 out of 5)








January 29th, 2008 at 10:49 pm
great tutorial. thanks a lot. i had couple of failed attempts to install gns3 on ubuntu prior to this tutorial.
February 8th, 2008 at 7:00 am
great tutorial, i am using packet tracer on windows at the moment, i didnt knew their were Router Emulation Software on a Linux. Thanks alot i will try it out.
February 17th, 2008 at 5:00 pm
Great instruction! I had just installed Ubuntu 7.10 in my laptop and I can run my first router in less than an hour. Thanks.
One thing you should mention is unzipping Cisco image s with “unzip -p compressedimage > regularsizeimage”
as dynamips software author mentions in his web page.
Thanks.
March 3rd, 2008 at 7:47 pm
[...] En windows, tenemos al packet tracer es un simulador de de redes por medio de un software.. bueno como saben me mude a linux, por que wintendo murio.. en busqueda de información y programas parecidos di con GNS3 que realiza lo mismo pero en linux, ademas que cargas las ios de los routers y puedes trabajar con las ios actualizadas. permitiendonos adquirir un mayor conocimiento.. bueno pero como se instala?.. facil vean el siguiente video tutorial de unos 6 min.. y quedarán listos para usar en sus linux su Gns3 aca unas screenshot desde mi pc [...]
March 15th, 2008 at 9:24 am
[...] Installation Tutorial for Linux [...]
April 3rd, 2008 at 4:19 am
Is their Any installation tutorial for Windows XP or it only works on Linux….
April 3rd, 2008 at 4:29 am
I am A windows XP user and I want GNS3 to be installed on WinXP. I have downlaoded and installed as per the instructuion but unable to telnet.
need Advice
April 4th, 2008 at 9:56 pm
Inayat,
Here is the video tutorial for Windows XP.
http://www.blindhog.net/cisco-gns3-graphical-router-emulation-software/
Josh
April 8th, 2008 at 4:48 am
[...] http://www.blindhog.net/gns3-installation-tutorial-for-linux/ [...]
April 29th, 2008 at 3:20 pm
I tried this method in Ubuntu 8.04 But it doesnot work.Need your suggestion.Thanks
April 29th, 2008 at 8:34 pm
Tariq,
The instructions on the GNS3 download page seems to work.
http://gpl.code.de/oswiki/GplcodedeApt
Josh
May 17th, 2008 at 4:03 pm
I have a problem. when I test dynamips, i get failed to start dynamips.
Could be a permision problem? I have followed everything else in the tutorial.
Not a linux guru and have searched the web but not sure how to debug this further.
thx
May 17th, 2008 at 9:14 pm
@Duane
Can you navigate to the directory containing the dynamips file and send the output of the ‘ls -la’ command?
May 19th, 2008 at 8:25 pm
thanks Josh,
Desktop/GNS3-0.5-src$ ls -la
total 1916
drwxr-xr-x 5 dmcgee dmcgee 4096 2008-05-17 17:08 .
drwxr-xr-x 4 dmcgee dmcgee 4096 2008-05-17 17:08 ..
-rwxr-xr-x 1 dmcgee dmcgee 73 2008-04-27 09:24 AUTHORS
-rwxr-xr-x 1 dmcgee dmcgee 1730 2008-04-27 09:24 CHANGELOG
drwxr-xr-x 3 dmcgee dmcgee 4096 2008-05-06 15:41 docs
-rwxr-xr-x 1 dmcgee root 917608 2008-05-17 17:07 dynamips-0.2.7-x86.bin
-rwxrwxrwx 1 dmcgee root 943340 2008-05-06 15:42 dynamips-0.2.8-RC2-x86.bin
-rwxr-xr-x 1 dmcgee dmcgee 1934 2008-04-27 09:24 gns3
-rwxr-xr-x 1 dmcgee dmcgee 18004 2008-04-27 09:24 GNS3.e4p
-rwxr-xr-x 1 dmcgee dmcgee 17987 2008-04-27 09:24 LICENSE
drwxr-xr-x 2 dmcgee dmcgee 4096 2008-05-06 15:41 pemu
-rw-r–r– 1 dmcgee dmcgee 1401 2008-04-27 09:24 README
-rwxr-xr-x 1 dmcgee dmcgee 3073 2008-04-27 09:24 setup.py
drwxr-xr-x 3 dmcgee dmcgee 4096 2008-05-06 15:41 src
-rwxr-xr-x 1 dmcgee dmcgee 1022 2008-04-27 09:24 TODO
May 19th, 2008 at 10:52 pm
@Duane,
The permissions look ok to me. Which of these versions of dyanamips are you referencing inside GNS3? - Josh
May 20th, 2008 at 12:59 pm
i have used both. I am currently pointed to the 2.7.
I also just noticed I am running the 64 bit version of ubuntu.
thanks
May 20th, 2008 at 3:20 pm
@duane, 64-bit could definitely be the problem. Do you have another machine running 32-bit? - Josh
May 23rd, 2008 at 6:20 am
how to attach PC with routers or switches in GNS?
May 25th, 2008 at 9:09 pm
@sachin
http://www.blindhog.net/how-to-integrate-a-microsoft-loopback-interface-with-gns3/
June 2nd, 2008 at 8:41 am
sorry for the delay in replying. I downloaded the latest non 64 Ubuntu and Gns3 and have things up and running.
now my next goal of getting my two 4 port ethernet nics and 4 usb adpaters recognized so i can map them to the my lab switches.
thanks for the help Josh.
July 5th, 2008 at 5:17 am
Hi Josh,
It always a pleasure to visit blindhog.
Thanks to your tutorials, I’m quite proficient with using Dynamips, so I haven’t been really interested in GNS-3; however I decided to watch a couple of your GNS-3 videos and I was convinced that GNS-3 is definitley the way to go.
My only question is this:
Have I got to unintsall Dynamips and Dynagen currently running on my Ubuntu Server? Or can I just point GNS-3 to the Dynamips Binaries?
Thanks a Bunch!!!!
Rgrds,
Ayo