#Downloads some File GNS3
https://github.com/GNS3/gns3-gui/
https://github.com/GNS3/gns3-server/
https://github.com/GNS3/dynamips/
##install GNS3 ver1.0
## complete Library Needed for this installation
sudo apt-get install build-essential libelf-dev uuid-dev libpcap-dev python3-dev python3-pyqt4 python3-setuptools python3-ws4py python3-pip python3-zmq python3-tornado python-netifaces apt-get install cmake
# Dynamips install:
unzip dynamips-master.zip mkdir build cd build cmake .. sudo make install
note: installed folder would be : /usr/local/bin/dynamips
# To test dynamips:
dynamips -H 7200 note: press : <ctrl>+z key to exit
# some library need by GNS3
sudo pip3 install pyzmq sudo pip3 install netifaces apt-get install python3-tornado note: or sudo pip3 install netifaces-py3
notes : this step was better way to install tornado since ubuntu ships the tornado packages with ver 4xx that found some issue in gns3 so we need ver 3.2.2.
apt-get install build-essential python-dev apt-get remove python-tornado rm -fr /usr/local/lib/python3.3/dist-packages/tornado* wget tornado-3.2.2.tar.gz tar xvzf tornado-3.2.2.tar.gz.tar.gz cd tornado-tornado-3.2.2 python3 setup.py build sudo python3 setup.py install
############# This the last Step should be more easier than priviouse
#gns3 server
cd GNS3-Server sudo setup.py install
#gns3 gui
cd GNS3-GUI
sudo python3 setup.py install
#run
sudo gns3
####################Configuring IOU#######################
1 – Fix the missing library for IOU
apt-get install libssl1.0.0 ln -s /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.4
Change your hostname :
sudo hostname gns3-iouvm nano /etc/hosts 127.0.0.1 gns3-iouvm ==> change from your last Hostname
2 – Install iouyap
Download iouyap.tar.gz from: http://sourceforge.net/projects/gns-3/f … z/download
tar zxvf iouyap.tar.gz cp iouyap /usr/local/bin/iouyap
3 – Specify your IOURC License file
You will need a License for IOU. It is a text file named “iourc” or “IOURC”.
Start a xterm or a console
Run GNS3 by typing “gns3″ and <ENTER> in the console
window you just opened. You will need to give your Membership
Number and email address.
Go to: Edit->Preferences->IOU on UNIX->General settings
In “Path to IOURC:”, specify the path of your IOURC file.
Click “Apply” button
Click “OK” button
note:
1. PATH FOR Your License with my file named iourc.txt, please rename it to be IOURC
4 – Specify the location of iouyap
Go to: Edit->Preferences->IOU on UNIX->General settings
In “Path to iouyap (local Linux server only):”, specify the path of your
iouyap file. In my case, it is “/usr/local/bin/iouyap”. Modify step 4
if you want another location.
Click “Apply” button
Click “OK” button
5 – Specify your IOU images (e.g. i86bi-linux-l3-ipbase-12.4.bin)
Go to: Edit->Preferences->IOU devices->IOU images
In “IOU path:”, specify the IOU image
Click “Save” button
Click “Apply” button
Click “OK” button
6 – You are ready
Now play with GNS3 v1.0. Your IOU devices shoud be good to go
################# Shared my experience ##################
==========IOU PROCESS===============
Step 1 – Fix the missing library for IOU
apt-get install libssl1.0.0 ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.4
Step 2 – Get Files for iouyap, iourc license, Hostid
wget https://dl.dropboxusercontent.com/u/55310967/NeededFiles.zip unzip NeededFiles.zip cp iouyap /usr/local/bin/iouyap
Step 3 – Run to change HostID
./sethostid.sh 00000000
Step 4 – Re Open GNS3
.\gns3
========================VBOXWrapper =======================
Step1 –
sudo git clone https://github.com/GNS3/vboxwrapper
Step 2 –
cd vboxwrapper/ sudo python setup.py install
step 3 -can we now run the finished file?
python /usr/local/bin/vboxwrapper
if some error was found, please do steps below
Step 4 – so let’s make sure that things are installed properly:
Lynx:vboxwrapper $ python Python 2.7.5 (default, Mar 9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from vboxapi import VirtualBoxManager >>> g_vboxManager = VirtualBoxManager(None, None) >>> print g_vboxManager.vbox.revision 91406 >>> exit()
Step 5.
Lynx:vboxwrapper $ cd ~/Downloads/ Lynx:vboxwrapper $ cd vboxwrapper/ Lynx:vboxwrapper $ ls LICENSE build setup.py vboxcontroller_4_3.py vboxwrapper.py README.md dist tcp_pipe_proxy.py vboxwrapper.egg-info Lynx:vboxwrapper $ sudo cp vboxwrapper.py tcp_pipe_proxy.py vboxcontroller_4_3.py /usr/local/lib/python2.7/dist-packages/ Password:
Step 6: Test again
python /usr/local/bin/vboxwrapper Result: VirtualBox Wrapper (version 0.9) Copyright (c) 2007-2014 Jeremy Grossmann and Alexey Eromenko Using VirtualBox 4.3.6 r91406 VBoxWrapper TCP control server started (port 11525). Listening on all network interfaces
Note : Should be OK now…
Fuihhhh this is lonnnngggg step installing something i’ve been made, but it’s worth to be try for our experience
finally, My Thank You to all GNS3 Team who creating this wonderfull tools.