I love GNS3. It’s awesome and creating complex network topologies with GNS3 is just crazy and super-cool.

UPDATE:

Easiest way to install GNS3 1.3.0 on Ubuntu 14.10 and 14.04 LTS

If you want to run GNS3 1.2.3 on Ubuntu then this tutorial is for you. Running GNS3 on Linux gives you a better performance as opposed Windows Operating System. Windows is always sluggish and i hate having GNS3 on Windows. we had talked about using a script written by another guy to install GNS3 1.2.x on Ubuntu and Linux Mint.
Installing Chromium Web Browser on Linux

gns 1.2.3 on ubuntu

I tested this installation on Ubuntu 64-bit version. You’ll also need IOS images and IOU images to use in your GNS3 labs.
Here are the steps to follow, but first make sure you system is up to date

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Then fix the missing dependencies needed for GNS3 installation.

 sudo apt‐get install python3‐zmq
 sudo apt‐get install python3‐tornado
 sudo apt‐get install python3‐netifaces
 sudo apt‐get install python3‐setuptools
 sudo apt‐get install python3‐pyqt4
 sudo apt‐get install python3‐ws4py

Now install the following Dependencies needed by Dynamips hypervisor.

  sudo apt‐get install uuid‐dev
  sudo apt-get install cmake 
  sudo apt‐get install libelf‐dev
  sudo apt‐get install libpcap‐dev

Download GNS3 1.2.3-source.zip, make sure you select LINUX/OTHER Version 1.2.3.
Unzip the downloaded zipped file.

 unzip GNS3-1.2.3.source.zip

It contains

  •  dynamips-0.2.14.zip
  •  gns3-server-1.2.3.zip,
  •  gns3-gui-1.2.3.zip,
  •  iouyap-0.95.zip,
  • vpcs-0.6.zip

Install GNS3 server

 $ cd GNS3-1.2.3-source
 $ unzip gns3-server-1.2.3.zip
 $ cd gns3-server-1.2.3
 $ sudo python3 setup.py install
 $ cd ..

Install GNS3 GUI

$ unzip gns3-gui-1.2.3.zip
$ cd gns3-gui-1.2.3
$ sudo python3 setup.py install
$ cd ..

Build and install Dynamips

 $ unzip dynamips-0.2.14
 $ cd dynamips-0.2.14
 $ mkdir build
 $ cd build
 $ cmake ..
 $ make
 $ sudo make install
 $ sudo setcap cap_net_admin,cap_net_raw=ep /usr/local/bin/dynamips
 $ cd ../..

Install IOU prerequisites

$ sudo apt-get install libssl1.0.0:i386
$ sudo ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/libcrypto.so.4
$ sudo apt-get install bison
$ sudo apt-get install flex
$ sudo apt-get install git
$ git clone http://github.com/ndevilla/iniparser.git
$ cd iniparser
$ make
$ sudo cp libiniparser.* /usr/lib/
$ sudo cp src/iniparser.h /usr/local/include
$ sudo cp src/dictionary.h /usr/local/include

Install GNS3 IOUYAP app which provide network support for IOU

$ unzip iouyap-0.95.zip
$ cd iouyap-95
$ sudo make install
$ sudo cp iouyap /usr/local/bin
$ cd ..

Install VPCS

 $ unzip vpcs-0.6.zip
 $ cd vpcs-0.6
 $ cd src
 $ ./mk.sh
 $ sudo cp vpcs /usr/local/bin/
 $ cd ../..

Done. Now it’s time to start your GNS3

gns3

 Additionally, you can install VirtualBox or  VMware Workstation | VMware Player for Virtualization on GNS3.
Another Virtualization Platform available for Linux is KVM, though i don’t know if it works with GNS3.

Search Tags
How to install GNS3 on Ubuntu
GNS3 simple installation on Ubuntu 14.04 LTS
Easiest way to install GNS3 on Ubuntu

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

12 COMMENTS

  1. Hello Jose.

    I get error on step "Build and install Dynamips", it said "Permission denied"

    The previous step was smoothly, but getting error on this step:
    $ make

    Here's the error:
    [email protected]:/media/ranto/Data/Apps/Linux/GNS3-1.2.3.source/dynamips-0.2.14/build$ make
    [ 1%] Built target rom2c
    [ 1%] Generating mips64_microcode_dump.inc
    /bin/sh: 1: ./rom2c: Permission denied
    stable/CMakeFiles/mips64_microcode_dump_stable.dir/build.make:52: recipe for target 'stable/mips64_microcode_dump.inc' failed
    make[2]: *** [stable/mips64_microcode_dump.inc] Error 126
    CMakeFiles/Makefile2:177: recipe for target 'stable/CMakeFiles/mips64_microcode_dump_stable.dir/all' failed
    make[1]: *** [stable/CMakeFiles/mips64_microcode_dump_stable.dir/all] Error 2
    Makefile:113: recipe for target 'all' failed
    make: *** [all] Error 2
    [email protected]:/media/ranto/Data/Apps/Linux/GNS3-1.2.3.source/dynamips-0.2.14/build$

    I have googling and found nothing to fix it.
    Could you help me?

    Thx in advance.

  2. Hello Jose,

    Thank you for your post.

    I'm new with Ubuntu and preparing for Ccent.

    Followed all the instructions. Unzipped & installed all files in one folder.
    But tried starting GNS3 using Command " Sudo python3 gns3 " error " [Errno 2] No Such files or directory.

    Please help of how open Program

  3. I did all these steps, everything is OK.

    The problem comes when I start any IOU instance (L2 or L3), a terminal appears and said that I'm connected to my loopback 127……. but I can't see anything regarding the CLI of IOS, I try to input the enable command and nothing happen, so please If someone of you know how to utilize IOU in GNS3 for Ubuntu please help me!.

    Thanks in advance.

  4. I did all these steps, everything is OK.

    The problem comes when I start any IOU instance (L2 or L3), a terminal appears and said that I'm connected to my loopback 127……. but I can't see anything regarding the CLI of IOS, I try to input the enable command and nothing happen, so please If someone of you know how to utilize IOU in GNS3 for Ubuntu please help me!.

    Thanks in advance.

LEAVE A REPLY

Please enter your comment!
Please enter your name here