[stordis-toc]
Introduction
The GNS3 desktop client is the application in which you build and operate your network topologies. The client connects to a GNS3 server: on your computer, in the GNS3 VM or on a remote host.
This guide shows how to install the client on Windows, macOS or Linux, how to connect it to a GNS3 server, and how to add more servers.
Prerequisites
- Windows 10/11, macOS 11 or later, or Ubuntu (or a distribution based on Ubuntu).
- Administrator rights on the computer.
- A GNS3 server. For example the GNS3 VM on VirtualBox, VMware ESXi or Proxmox (refer to the links at the end of this guide).
If the client connects only to a remote server, a standard office computer is sufficient. A local GNS3 server needs a strong computer: 8 or more CPU cores with VT-x/AMD-V, 32 GB RAM, 80 GB free space on an SSD.
CAUTION
The version of the GNS3 client must be the same as the version of the GNS3 server, for example client 2.2.54 and server 2.2.54. If the versions are different, the client cannot connect.
Step 1: Download the GNS3 client
-
Go to https://gns3.com/software/download and select the version for your system.
-
If you do not have a GNS3 account, create one. The website asks for it before the download.
- Go to https://github.com/GNS3/gns3-gui/releases.
-
In the Assets of the release, download the installer for your system. You do not need an account.
Step 2: Install the GNS3 client
Select your system. The page opens the tab of your system automatically.
-
Double-click the downloaded DMG file.
-
Drag the GNS3 icon to the Applications folder.
-
Start GNS3 from Applications.
-
GNS3 is not from the App Store. If macOS stops the start, right-click the GNS3 icon and click Open. You must do this only at the first start.
-
GNS3 asks to allow root access for uBridge. uBridge connects GNS3 to the network. Click Yes.
-
Type the password of your macOS user and confirm.
These commands are for Ubuntu and distributions based on Ubuntu.
-
Add the GNS3 repository:
sudo add-apt-repository ppa:gns3/ppa
-
Update the package list:
sudo apt update
-
Install the client. Install the server too, if you want a local GNS3 server:
sudo apt install gns3-gui gns3-server
-
For a local server: when the installer asks if non-root users can run GNS3 (uBridge, Wireshark), select Yes. Then add your user to the groups and log in again:
sudo usermod -aG ubridge,libvirt,kvm,wireshark $USER
-
Start GNS3 from the application menu.
Step 3: Connect the client to the GNS3 server
The client looks the same on all systems.
-
Select Edit > Preferences.
-
Open Server > Main server. Clear Enable local server. Type the data of the remote server: Host (IP address), Port, and the user and password if the server uses authentication. The main server keeps your projects.
Use the address and the port that the console of the GNS3 VM shows.
Step 4 (optional): Add more GNS3 servers
Use this step if you keep the local server as the main server, or if you use more than one remote server.
Troubleshooting
- Make sure that the client and the server have the same version (Help > About in the client, the console of the GNS3 VM for the server).
- Make sure that you can open
http://<server-IP>:<port>in a web browser. - Make sure that no firewall stops the port of the server.
Your user is not in the groups for GNS3. Add the user (Step 2, Linux) and log out and log in again.
Procedure completion
Congratulations!
You have successfully installed and configured the GNS3 desktop client. Now you can add SONiC and build your network labs.
Happy networking!
Useful links:
How to create a new GNS3 appliance template to work with SONiC using GNS3 Desktop Client?
How to set up GNS3 server on VirtualBox?
How to set up GNS3 server on Proxmox?
How to set up GNS3 server on VMware ESXi?
For more free resources, visit: https://stordis.com/free-resources/
Comments 0
Comments
Please sign in to leave a comment.