GNS3

Prerequisites

Installation

dynamips

  1. apt-get install cmake libelf-dev uuid-dev libpcap0.8-dev
  2. unzip dynamips-0.2.14.zip
  3. cd dynamips-0.2.14/
  4. mkdir build
  5. cd build/
  6. cmake ..
  7. make
  8. make install

GNS3 Server

  1. apt-get install python3-setuptools python3-netifaces python3-dev libgmp-dev
  2. unzip gns3-server-1.2.3.zip
  3. cd gns3-server-1.2.3/
  4. sudo python3 setup.py install

GNS3 GUI

  1. apt-get install python3-pyqt4
  2. unzip gns3-gui-1.2.3.zip
  3. cd gns3-gui-1.2.3/
  4. sudo python3 setup.py install

Cosmetics Configuration

Running GNS3

  1. gns3server &
  2. gns3

Configuring Loopback Interface

We will configure tap0 interface, so that our host system can connect to the GNS3 network topology and vise versa.

  1. apt-get install uml-utilities
  2. cd /usr/bin/
  3. setcap cap_dac_override,cap_net_raw,cap_net_admin+eip dynamips
  4. getcap dynamips
  5. modprobe tun
  6. tunctl -t tap0
  7. ifconfig tap0 192.168.6.2

Reading List