GNS3

Prerequisites

  • GNS3 source, download it from 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

  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

  • apt-get install qt4-qtconfig
  • qtconfig
  • Set to the “classic” appearance

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

 
doc/gns3.txt · Last modified: 2015/05/06 15:26 by stwn · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki