In this instruction I will be demonstrating how to setup a virtual bridge for the GNS3 server running in Proxmox to resolve speed issue connation on it.
This configuration power on the full connection speed for the cloud in GNS3 running on Proxmox
First, we log in to Proxmox
From the list, select the GNS3 virtual machine
We need to add another device which is Network device
Below you can see an additional network interface
The next step is to open the console in GNS3 virtual machine
A view of the GNS3 machine will appear. In this step, press ENTER
In the next step, use the arrow keys to select Shell and press ENTER
We will get access to the GNS3 virtual system console
Before we make any changes, we need to check if there are any updates and install them.
gns3@gns3vm:~$ sudo apt update
gns3@gns3vm:~$ sudo apt upgrade
We need to check name of network card. To do this, use the following command:
gns3@gns3vm:~$ ip a
In the photo below, the network interfaces are marked.
The next step is to install bridge-utils. This package contains a utility needed to create and manage bridge devices.
To do this, use the following command:
gns3@gns3vm:~$ sudo apt install bridge-utils
gns3@gns3vm:~$ sudo apt install bridge-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ifupdown
The following NEW packages will be installed:
bridge-utils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.5 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 bridge-utils amd64 1.6-2ubuntu1 [30.5 kB]
Fetched 30.5 kB in 0s (87.0 kB/s)
Selecting previously unselected package bridge-utils.
(Reading database ... 44650 files and directories currently installed.)
Preparing to unpack .../bridge-utils_1.6-2ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.6-2ubuntu1) ...
Setting up bridge-utils (1.6-2ubuntu1) ...
Navigate to the Netplan configuration folder:
gns3@gns3vm:~$ cd /etc/netplan
gns3@gns3vm:/etc/netplan$ ls
00-installer-config.yaml 80_gns3vm_default_netcfg.yaml 90_gns3vm_static_netcfg.yaml
Please make the backup of existed configuration file 00-installer-config.yaml.
gns3@gns3vm:/etc/netplan$ sudo cp 00-installer-config.yaml 00-installer-config.yaml.bak
gns3@gns3vm:/etc/netplan$ ls
00-installer-config.yaml 00-installer-config.yaml.bak 80_gns3vm_default_netcfg.yaml 90_gns3vm_static_netcfg.yaml
Then you need to open the file 00-installer-config.yaml , in order to do so, use the following command:
gns3@gns3vm:/etc/netplan$ sudo nano 00-installer-config.yaml
The file should look like the following
# This is the network config written by 'subiquity'
network:
ethernets:
ens18:
dhcp4: true
ens19:
dhcp4: false
dhcp6: false
version: 2
bridges:
br0:
interfaces: [ens19]
dhcp4: no
dhcp6: no
Save the file CTRL+S and exit the editor CTRL+X
To apply the new network settings, run the following command:
gns3@gns3vm:/etc/netplan$ sudo netplan apply
To check whether the new bridge interface was created correctly, run the command:
gns3@gns3vm:/etc/netplan$ ip a
Now go to the GNS3 interface (web or client) and create a test lab.
In the topology, create a new connection with the Cloud interface
Please right click on the cloud and from the menu select Configure
If interface br0 is listed, the configuration is done correctly.
For proper operation, use the br0 interface when creating a connection to the cloud