GNS3

From belajarwiki
Jump to navigation Jump to search

Graphical Network Simulator-3 is a network software emulator first released in 2008. It allows the combination of virtual and real devices, used to simulate complex networks. It uses Dynamips emulation software to simulate Cisco IOS.

Instalasi

Download sesuai OS pada link https://gns3.com/software/download Jika menggunakan ubuntu, dapat menuliskan perintah

  sudo add-apt-repository ppa:gns3/ppa
  sudo apt update                                
  sudo apt install gns3-gui gns3-server

Atau lengkapnya (install ubridge dan git juga)

  sudo apt install gns3-gui gns3-server ubridge libpcap-dev git

Jika ingin menggunakan cisco dapat juga menambahkan

  sudo apt install gns3-iou

Tambahan (jika belum mempunyai virtualbox dan wireshark):

  sudo apt install virtualbox qemu wireshark

uBridge

Jika ada masalah dengan uBridge, dapat memperbaiki dengan cara

  sudo su
  apt -y install libpcap-dev git
  cd /usr/local/src
  rm -Rf /usr/local/src/ubridge/
  git clone https://github.com/GNS3/ubridge.git
  cd ubridge
  make
  make install
  cp -p ubridge /usr/bin
  setcap cap_net_admin,cap_net_raw=ep /usr//bin/ubridge

Konfigurasi Pertama Kali

Langkah 1

  Run appliances on my local computer

Langkah 2

  Server Path  : /usr/bin/gns3server
  Host binding : localhost
  Port         : 3080 TCP

Langkah 3

  Connection to the local GNS3 server has been successful!

Jika ada error wireshark

Couldn't run /usr/bin/dumpcap in child process: Permission

sudo usermod -a -G wireshark $USER
sudo dpkg-reconfigure wireshark-common
sudo chmod +x /usr/bin/dumpcap 

Link router

Referensi

Pranala Menarik