How to get GNS3 running on macOS Big Sur

Install GNS3 GUI

Craig Garnham
WXIT
5 min readDec 22, 2020

--

Download the GNS3 mac installer from the GNS3 website https://www.gns3.com/software/download. You will need to create a free account if you don’t already have one.

Open the dmg, and then drag the GNS3 icon to the Applications folder.

GNS3 Installer
GNS3 Installer

Install Wireshark

Download the Wireshark mac installer from the Wireshark website https://www.wireshark.org/download.html

Open the dmg, drag the Wireshark icon to the Applications folder. If you are only using Wireshark within GNS3, you do not need to run the ChmodBPF.pkg installer.

Wireshark Installer
Wireshark Installer

Set Console Applicaition

By default, GNS3 will use the macOS Terminal application for console connections, but this won’t work as Apple has removed Telnet from macOS.

Open GNS3, and from the menu bar, select Preferences. On the General preferences page, select the Console applications tab.

Click the Edit button, then select the console application you have installed on your Mac from the dropdown.

GNS Console Settings
GNS3 Console Settings

Install VNC Client

The built-in macOS VNC client (Apple Screen Sharing) has issues working with GNS3.

Download the free Lite version of Royal TSX https://royalapps.com/ts/mac/download

Open Royal TSX, and from the menu bar, select Plugins. Install the VNC plugin.

Royal TSX VNC Plugin
Royal TSX VNC Plugin

Open GNS3, and from the menu bar, select Preferences. On the General preferences page, select the VNC tab.

Click the Edit button, then select Royal TSX from the dropdown.

GNS3 VNC Settings
GNS3 VNC Settings

Test basic functionality

Before we install the GNS3 VM, we should test the basic functionality is working.

Create the following topology with two virtual PCs and a switch, connect them together, and click the play button to start all devices.

Click the console connect to all nodes button, and your console application should open with connections to both virtual PCs.

Set an IP address on both virtual PC’s

Click on one of the links and select start capture, then click ok.

Ping one of the PC’s from the other PC.

Wireshark should have opened automatically, and the ping packets displayed.

Wireshark ping capture
Wireshark ping capture

Now we have confirmed the basic functionality is working, and we can set up the GNS3 VM to allow more advanced devices to be used.

Install VirtualBox

Download VirtualBox from https://www.virtualbox.org/wiki/Downloads

Run the setup to install VirtualBox. Once the install wizard has finished, open the system preferences app, on the Security and Privacy section, click the Allow button, and reboot your Mac.

Open VirtualBox, click on Tools, and select Network.

Create a new network and enable DHCP

VirtualBox Network Settings
VirtualBox Networks Settings

Download the GNS3 VM image for VirtualBox from the GNS3 website https://www.gns3.com/software/download-vm

Double click the GNS3 VM.ovf file to import the VM into VirtualBox.

GNS3 VM Image
GNS3 VM Image

Edit the network settings for the VM. Check the first adapter is set to Host-only and connected to the correct network. The second adapter should be set to NAT.

GNS3 VM Adapter 1 Settings
GNS3 VM Adapter 1 Settings
GNS3 VM Adapter 2 Settings
GNS3 VM Adapter 2 Settings

Power on the VM and open GNS3 without opening a project. From the menu bar, select Preferences.

On the Server page, change the Host binding to the IP from the virtual network.

GNS3 Server preferences
GNS3 Server preferences

On the GNS3 VM page, Enable the VM and select the VM name from the dropdown.

GNS3 VM preferences
GNS3 VM preferences

The VM should then show as running in the servers list.

GNS3 Servers Summary
GNS3 Servers Summary

You can now add devices to your topology that require the GNS3 VM, for example, the Docker Guest.

GNS3 Docker Guest
GNS3 Docker Guest

Install Cisco device images

We can now install the Cisco virtual devices images for routers and switches.

Click on New template at the bottom of the device list. Select Install an appliance on the GNS3 server.

Select Routers > Cisco IOSv or Switches > Cisco IOSvL2 depending on which image you are installing. Then click the Install button. Select Install an appliance on the GNS3 VM and click Next. Leave the Qemu dropdown on the default and click Next.

Select the version you want to install and click the Download button, it will take you to the Cisco website, you will need to log in with your Cisco account that has an active subscription and download the file. Click the Refresh button and it will change to ready to install, click the next button and then click finish.

You will then be able to add Cisco devices to your topology

If you get this error when starting the device,

Edit the configure the device template, on the Advanced tab remove “-machine pc-q35–4.2” from the Additional setting Options text box.

You should then be able to power on the device and connect to it.

--

--

Craig Garnham
WXIT

☁️ Network/Cloud/IT Engineer from Guernsey 🇬🇬 | 📺 Youtube: https://www.youtube.com/user/cg1network | 📷 Instagram: https://www.instagram.com/wxcg/