Setting up GNS3

tested on jammy

requirements

make sure you’re compliant with the KVM and Libvirt requirements – namely libvirt group and bridge-utils

for the Cloud connection to work, make sure you’ve got a bridge already, in which eth0 is part of. any bridge will do, it can be xenbr0 or virbr0 – you can validate it with a VPCS.

for the NAT connection to work, make sure you’ve got the virbr0 bridge already in place. see kvm/host.

install

dpkg --add-architecture i386
add-apt-repository ppa:gns3/ppa
apt update
cp -pi /etc/group /etc/group.before-gns3
apt install gns3-gui gns3-iou gns3-server

(non-root YES)
(non-root capture YES)

diff -bu /etc/group.before-gns3 /etc/group

we’ve got an issue with dynamips/amd64, we need the i386 flavor. last available was for eoan (http://ppa.launchpad.net/gns3/ppa/ubuntu/pool/main/d/dynamips/)

dpkg -l | grep dynamips
dpkg -r dynamips

wget http://ppa.launchpad.net/gns3/ppa/ubuntu/pool/main/d/dynamips/dynamips_0.2.21-1~eoan1_i386.deb
dpkg -i dynamips_0.2.21-1~eoan1_i386.deb
apt-get -f install

ready to go

systemctl status gns3server
systemctl enable gns3server --now
netstat -lntup | grep 3080

as user

restart your user session for the group permissions to apply or hotfix as follows

grep ^wireshark /etc/group
newgrp wireshark

and run the network platform UI

gns3

remote server
w/o auth

create a project

create blank project

drag & drop the virbr0 gateway/bridge

NAT

also tune the terminal

Edit > Preferences / Console applications

EDIT
# gnome-terminal -t "%d" -e "telnet %h %p"
terminator -e "telnet %h %p" -T "%d"

test connexion – drag & drop a dummy network client

VPCS

ip 192.168.122.9/24 192.168.122.1
ip dns 192.168.122.1
ping opendns.com

Dynamips appliances

see gns3-appliances

diy QEMU templates

see gns3-guests

resources

https://docs.gns3.com/docs/getting-started/installation/remote-server

https://docs.gns3.com/docs/getting-started/installation/one-server-multiple-clients/

https://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/

https://docs-v1.gns3.com/1_3RdgLWgfk4ylRr99htYZrGMoFlJcmKAAaUAc8x9Ph8/index.html

https://github.com/GNS3/gns3-registry/tree/master/appliances

https://www.gns3.com/marketplace/appliances

https://docs.gns3.com/docs/using-gns3/advanced/create-a-new-version-for-an-appliance/

https://docs-v1.gns3.com/1_3RdgLWgfk4ylRr99htYZrGMoFlJcmKAAaUAc8x9Ph8/index.html

tuning

RouterGods - Adding serial interfaces in GNS3 https://www.youtube.com/watch?v=nMGl8M9JruU

How to add serial port on C7200 router? http://forum.gns3.net/post25282.html

Cloud how to add serial interface? https://www.gns3.com/community/featured/cloud-how-to-add-serial-interfac

A Comparison of GNS3 Terminal Applications https://rednectar.net/2013/09/09/a-comparison-of-gns3-terminal-applications/

Use custom symbols in GNS3 https://docs.gns3.com/docs/using-gns3/beginners/change-node-symbol

https://superuser.com/questions/272061/reload-a-linux-users-group-assignments-without-logging-out –> newgrp

systemd

https://docs.gns3.com/docs/using-gns3/administration/running-gns3-server-as-daemon/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun