GNS3 Experience Setup and usage in linux

Install

Reference:

My Steps

1. Install GNS3

sudo pacman -Syu
sudo pacman -S yay
yay -S gns3-server --noconfirm
yay -S gns3-gui --noconfirm

2. Install Dynamips

git clone git://github.com/GNS3/dynamips.git
cd dynamips
mkdir build
cd build
cmake ..
make
make install

Verify :

$ cd $HOME
$ dynamips 2> /dev/null | grep version
Cisco Router Simulation Platform (version 0.2.19-amd64/Linux stable)
$ getcap $(which dynamips)
/usr/bin/dynamips = cap_net_admin,cap_net_raw+ep

3. Install VPCS

yay -S vpcs --noconfrim

Check:

$ cd $HOME
$ type vpcs
vpcs is /usr/bin/vpcs
$ vpcs -v | grep version
Welcome to Virtual PC Simulator, version 0.8 beta1

Expriement

Base conf

en
conf t
hostname R1
line console 0 # Go to console.
no exec-time # Stop unwished withdraw due to long periods of inactivity.
logging synchronous # Stop interrupte by log while input.
exit
no ip domain lookup # Stop DNS analysis auto,another wise it waste time to get info to non-critical words.

Config ip info

conf t
int g1/0
ip addr 1.1.1.1 255.255.255.0
no shutdown
exit
exit
sh ip int brief
0%