Installing GNS3 1.4 on Ubuntu 14.04 and 15.04 64-bit with IOU Support

Posted on

This quick tutorial provides the steps to install GNS3 1.4, with IOU support, on Ubuntu 14.04 and 15.04 LTS 64-bit. When finished, you’ll will have to install an IOU license file (for IOU support), IOU image files, and IOS image files; GNS3 does not provide any of those files, so you’ll have to acquire them on your own. Keep in mind that GNS3 1.4 is still in Beta and that’s what you’ll be installing here. The current stable version of GNS3 is 1.3.9. If you wish to run GNS3 1.3.9, you can follow one of my other installation guides to install on your flavor of Linux. You can ignore the version number in the titles, each method should work with 1.3.9.

 

HOW TO Install GNS3 1.3.7 on Ubuntu 14.04 LTS 64-bit with IOU Support

HOW TO Install GNS3 1.3.7 on Linux Mint 17.1 Rebecca 64-bit with IOU Support

HOW TO Install GNS3 1.3.3 on Fedora 21 64-bit with IOU Support

HOW TO: Install GNS3 1.3.3 on openSUSE 13.2 64-bit with IOU Support

 

— On Linux GNS3 is installed from a Terminal command line —

! — I recommend starting the install from your user directory.

$ cd ~

! — Run apt-get update

$ sudo apt-get  update

! — Install GNS3 dependencies

$ sudo apt-get install python3-dev

$ sudo apt-get install python3-setuptools

$ sudo apt-get install python3-pyqt5

$ sudo apt-get install python3-pyqt5.qtsvg

$ sudo apt-get install python3-pyqt5.qtwebkit

$ sudo apt‐get install python3‐ws4py

$ sudo apt‐get install python3‐netifaces

! — Install PIP to allow easy upgrades of GNS3 later

$ sudo apt-get install python3-pip

! — Install Dynmips dependencies

$ sudo apt-get install cmake

$ sudo apt‐get install uuid‐dev

$ sudo apt‐get install libelf‐dev

$ sudo apt‐get install libpcap‐dev

! — Download and unzip GNS3 Linux source files GNS3-1.4.0beta1.source.zip

$ cd Downloads

$  unzip GNS3-1.4.0beta1.source.zip

dynamips-0.2.14.zip  gns3-server-1.4.0beta1.zip  vpcs-0.6.1.zip

gns3-gui-1.4.0beta1.zip   iouyap-0.95.zip   ubridge-0.9.0.zip

! — Build and Install Dynamips

$ unzip dynamips-0.2.14.zip

$ 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 GNS3 Server

$ unzip gns3-server-1.4.0beta1.zip

$ cd gns3-server-1.4.0beta1

$ sudo python3 setup.py install

$ cd ..

! — Install GNS3 GUI

$ unzip gns3-gui-1.4.0beta1.zip

$ cd gns3-gui-1.4.0beta1

$ sudo python3 setup.py install

$ cd ..

Important Note: If you get an error installing the GNS3 SERVER or GUI application, check your Internet connection and run the sudo python3 setup.py install command again. Install errors here usually indicate that the installer was unable to download a dependency from the Internet.

! — 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

$ cd ..

! — Install GNS3 IOUYAP

$ unzip iouyap-0.95.zip

$ cd iouyap-0.95

$ sudo make install

$ sudo cp iouyap /usr/local/bin

$ cd ..

! — Install GNS3 UBRIDGE

$ unzip ubridge-0.9.0.zip

$ cd ubridge-0.9.0

$ make

$ sudo make install

$ cd ..

! — Install VPCS

$ unzip vpcs-0.6.1.zip

$ cd vpcs-0.6.1/src

$ ./mk.sh

$ sudo cp vpcs /usr/local/bin/

$ cd ../..

! — Install CPU limit

$ sudo apt-get install cpulimit

! — Install VirtualBox

$ sudo apt-get install virtualbox

! — Install QEMU (i386 and X86_64 arch only)

$ sudo apt-get install qemu-system-x86

$ sudo apt-get install qemu-utils

! — Install Wireshark

$ sudo apt-get install wireshark

! — Launch GNS3

$ gns3

———

! — Post Install Maintenance

After installing GNS3 you need to add one or more IOS and IOU image files; GNS3 does not provide these files. You also have to change any IOU images files you have to executable.

! — Change your IOU image(s) to executable (EXAMPLE)

$ chmod 555 i86bi-linux-l2-adventerprisek9-15.1a.bin

! — UPGRADING GNS3

As new versions of GNS3 1.4 become available, you can upgrade to the latest version using pip3. In the following example, I’m upgrading to version “1.4.0beta2.”

$ sudo pip3 install gns3-gui==1.4.0beta2

$ sudo pip3 install gns3-server==1.4.0beta2

That’s it. Have fun!

 

Leave a Reply

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