Step 1:
Open up Terminal for dependenciessudo apt-get update
sudo apt-get install python
sudo apt-get install qt4-dev-tools
sudo apt-get install pyqt4-dev-tools
sudo apt-get install libncurses5-dev zlib1g-dev libsdl-dev libpcap-dev
exit
Step 2:
Download GNS3 ver 0.8.2 and extract in /optcd /opt
sudo wget
http://sourceforge.net/projects/gns-3/f ... z/downloadsudo tar -xjvf GNS3-0.8.2-src.tar.gz
sudo rm GNS3-0..8.2--src.tar.gz
sudo mv GNS3-0..8.2--src /opt/GNS3
or you can download manually from GNS site (
http://www.gns3.net/download/) .
Step 3:
Create the following directories in Ubuntu:These directories will be used by GNS3 – such as projects – where your working projects will be stored, cache, temp, IOS images, etc.
cd /opt/GNS3
sudo mkdir Dynamips
sudo mkdir IOS
sudo mkdir Project
sudo mkdir Cache
sudo mkdir tmp
sudo chmod o+rw -R ./Project
sudo chmod o+rw -R ./tmp
sudo chmod o+rw -R ./IOS
Step 4 :
Download binary of dynamips and make it executablecd Dynamips ie (/opt/GNS3/Dynamips)
sudo wget
http://www.ipflow.utc.fr/dynamips/dynam ... -amd64.binsudo chmod +x ./dynamips-0.2.8-RC2-amd64.bin
Step 5: .
Go to edit | preferences and in the ‘Terminal command:’ section type in:gnome-terminal -t %d -e ‘telnet %h %p’ > /dev/null 2>&1 &
Step 6.
Under ‘Paths’ change the ‘Project directory:’ to/opt/GNS3/Project
and the ‘IOS/PIX/ASA directory:’ to
/opt/GNS3/IOS
Step 7.
Click on Dynamips tab on the leftFor the ‘Executable path:’ type in
/opt/GNS3/Dynamips/dynamips-0.2.8-RC2-amd64.bin
Step 8.
Change the ‘Working directory:’ to/opt/GNS3/tmp
Click on the Capture tab on the left
Step 9.
For the ‘Working directory for capture files:’ change it to/opt/GNS3/Project
Step 10
For Qemuwget
http://download.savannah.gnu.org/releas ... 1.0.tar.gz
tar xvzf qemu-0.11.0.tar.gz
cd qemu-0.11.0
wget
http://downloads.sourceforge.net/gns-3/ ... h?download
First copy this line :>
patch -p1 -i qemu-0.11.0-olive.patchthen this line :>
./configure --target-list=i386-softmmumake
sudo make install
Change qemu path to /usr/bin/qemu and qemu-img path to /usr/bin/qemu-img
Tip: if u want to run ASA then run first “directory/qemuwrapper/qemuwrapper.py” in terminal
Suggestion are welcome to make this article upto date.