Saturday, May 9, 2015

How to install Gns3 1.3.2 and configure IOS in Ubuntu 14.04





The fear of the Lord is beginning of the knowledge..  proverbs 1:17



Objective:
Installing Gns3 in Ubuntu 14.04
Requirements:
Ubuntu  OS 14.04 32 bit or 64 bit, Gns3 latest version, I used the 1.3.2 it will downloaded from www.community.gns3.com
For my installation purpose I used Virtual box with ISO image.
Cisco IOS any
After installing the Ubuntu 14.04 in system download the GNS3 latest version extract in the download folder, then fallow the steps..



























 type this commands:

$ sudo apt-get update
# - Install GNS3 dependencies
$ sudo apt-get install python3-setuptools
$ sudo apt-get install python3-pyqt4
$ sudo apt-get install python3-ws4py
$ sudo apt-get install python3-zmq
$ sudo apt-get install python3-tornado
$ sudo apt-get install python3-netifaces

# Install Dynmips dependencies
$ sudo apt-get install cmake
$ sudo apt-get install libelf-dev
$ sudo apt-get install uuid-dev
$ sudo apt-get install libpcap-dev

# - Download and unzip GNS3 Linux source files ( Download )
$ unzip GNS3-1.3.2-source.zip
dynamips-0.2.14.zip gns3-server-1.2.1.zip vpcs-0.6.zip
gns3-gui-1.2.1.zip iouyap-0.95.zip
# - Build and Install Dynamips
$ cd GNS3-1.3.2-source
$ 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


# - Install GNS3 Server
$ unzip gns3-server-1.3.2.zip
$ cd gns3-server-1.3.2
$ sudo python3 setup.py install
# - Install GNS3 GUI
$ unzip gns3-gui-1.3.2.zip
$ cd gns3-gui-1.3.2
$ sudo python3 setup.py install

# - 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 (provides network support for IOU)
$ unzip iouyap-0.95.zip
$ cd iouyap-0.95
$ sudo make install
$ sudo cp iouyap /usr/local/bin


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

Video Solution:

















All the best..

No comments: