Openbsd /
Gns3
GNS3 is a network simulator, it can be used to emulate network devices, servers, clients and various other networking related setups.
it's has a server and client. while both can be made to work on OpenBSD, server is not of much use, due to lack of docker and qemu+kvm. thus, this guide only covers client side.
Installation
First install the requirement packages:
$ doas pkg_add python3 py3-pip py3-qt5
then run the following command to make a virtual environment:
$ python3 -m venv --system-site-packages gns3
the --system-site-packages
flag is required, since we make use of local PyQt (py3-qt5
package).
finally, activate the virtual environment and install gns3-gui
package via pip
:
$ . gns3/bin/activate (gns3) $ pip install gns3-gui
you may run gns3
command afterwards:
(gns3) $ gns3