====== GNS3 ======
===== Prerequisites =====
* GNS3 source, download it from [[http://gns3.com/|GNS3 site]].$ wget -c http://downloads.gns3.com/GNS3-1.2.3.source.zip
* QEMU# apt-get install qemu
===== Installation =====
* Unzip GNS3 source.unzip GNS3-1.2.3.source.zip
* Change directory to the extracted directory.cd GNS-1.2.3.source/
==== dynamips ====
- apt-get install cmake libelf-dev uuid-dev libpcap0.8-dev
- unzip dynamips-0.2.14.zip
- cd dynamips-0.2.14/
- mkdir build
- cd build/
- cmake ..
- make
- make install
==== GNS3 Server ====
- apt-get install python3-setuptools python3-netifaces python3-dev libgmp-dev
- unzip gns3-server-1.2.3.zip
- cd gns3-server-1.2.3/
- sudo python3 setup.py install
==== GNS3 GUI ====
- apt-get install python3-pyqt4
- unzip gns3-gui-1.2.3.zip
- cd gns3-gui-1.2.3/
- sudo python3 setup.py install
===== Cosmetics Configuration =====
* apt-get install qt4-qtconfig
* qtconfig
* Set to the "classic" appearance
===== Running GNS3 =====
- gns3server &
- gns3
===== Configuring Loopback Interface =====
We will configure tap0 interface, so that our host system can connect to the GNS3 network topology and vise versa.
- apt-get install uml-utilities
- cd /usr/bin/
- setcap cap_dac_override,cap_net_raw,cap_net_admin+eip dynamips
- getcap dynamips
- modprobe tun
- tunctl -t tap0
- ifconfig tap0 192.168.6.2
===== Reading List =====
* [[http://forum.gns3.net/topic10580.html|206-unable to create linux raw or generic ethernet]]