Optional : HTTP authentication and remote VPN connection Reboot your machine and perform the same command, you should get a similar output, meaning GNS3 server is loading at machine’s boot. Now check to see if the service is properly working : sudo systemctl status gns3 Make this file executable, enable and start the created service : sudo chmod +x /etc/systemd/system/rvice Save (Ctrl + O) and exit (Ctrl + x) Nano editor. Now that the GNS3 server is installed, let’s create a service to run it at boot : sudo nano /etc/systemd/system/rviceĬopy and paste the following parameters to this blank file : Description=GNS3 Server ExecStart=/usr/share/gns3/gns3-server/bin/gns3server WantedBy=multi-user.target Check that it’s running : sudo systemctl status docker Up and running Docker Engineįinally, add your user to the following groups :Īdapt and perform the following command to do so : sudo usermod -aG group_name your_user_name Configuring the GNS3 Server as a service Install Docker : sudo apt install docker-ceĭocker should now be installed, the daemon started, and the process enabled to start on boot.
Gns3 vm install guide update#
Next, update the package database with the Docker packages from the newly added repo : sudo apt update Then add the GPG key for the official Docker repository to your system: curl -fsSL | sudo apt-key add -Īdd the Docker repository to APT sources: sudo add-apt-repository "deb focal stable" First, install some required packages : sudo apt install apt-transport-https ca-certificates curl software-properties-common GNS3 supports Docker appliances, so let’s install it. Sudo apt install gns3-iou Installing Docker If you want Cisco IOU support, add 32bits architecture support to your system and install gns3-iou : sudo dpkg -add-architecture i386 Update the source and install the GNS3 server : sudo apt-get update & sudo apt-get install gns3-server GNS3 team provides its own repository, let’s add it to the sources : sudo add-apt-repository ppa:gns3/ppa KVM acceleration can be used Installing the GNS3 Server Here is a valid output meaning virtualization is enabled : INFO: /dev/kvm exists Once installed, run this command : sudo kvm-ok Running VM’s inside a VM is called nested virtualization, let’s first check if this feature is enabled and virtualization instructions are actually passed to the VM by installing this package : sudo apt-get install cpu-checker Depending on your needs and plans, you have allocated the VM enough ressources (CPU, RAM and storage).You’ve got a freshly installed Ubuntu Server 20.04 VM, with bridged networking set up.Your hardware is able to perform nested virtualization and you have enabled nested virtualization both in your BIOS and hypervisor (check this tutorial out for UnRAID for instance).Note : this guide should applies on bare-metal installation too, just ignore the parts relating to virtualization. UnRAID virtualization engine is based on KVM.
Gns3 vm install guide how to#
GNS3 team provides ready to use VM images for various hypervisors, but since I’ve decided to run it in a VM on my UnRAID server, here’s a quick write-up about how to install the GNS3 server in this scenario. Recently I’ve started using the GNS3 application to learn and practice about networking and related hardware.