3 Adding a MikroTik Appliance in GNS3
Mathew J. Heath Van Horn, PhD
MikroTik is a Latvian enterprise network equipment manufacturer. Their network hardware is used in enterprise networks throughout the world. Their router operating system software is free to use for non-commercial purposes. We use the MikroTik Cloud Hosted Router (CHR) router operating system throughout this book because we have found that it has many of the same features as other commercial products while also being very reliable while running in the GNS3 working environment.
Learning Objectives
- Successfully download, install, and run MikroTik Cloud Hosted Router appliance in a GNS3 environment
Prerequisites
Deliverables
- None – this is a preparatory lab that supports other labs in this book
Resources
- GNS3 Documentation – https://docs.gns3.com/docs
- MikroTik Documentation – https://help.mikrotik.com/docs/display/ROS/Getting+started
Contributors and Testers
Testers:
- Quinton D. Heath Van Horn, 7th Grade
- David Reese, Mathematics Student, SUNY Brockport
- Cody Shinkyu Park, Honeywell Software Engineer, ERAU-Prescott Alumni
- Salvador Morales, Safety Management System Analyst, ERAU-Prescott Alumni
- Evan Paddock, Cybersecurity Student, ERAU-Prescott
- Dante Rocca, Cybersecurity Student, ERAU-Prescott
- Sawyer Hansen, Cybersecurity Student, ERAU-Prescott
Phase I – Installing a MikroTik router
Many learners use MikroTik routers to learn enterprise networking principles. You will find many instruction sites on the internet using MikroTik in GNS3.
![Installed MikroTik Router Depiction of the menu that needs to be clicked on.](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-12.png)
- Visit the GNS3 Marketplace at https://www.gns3.com/marketplace/appliances
- In the search appliances field, type “MikroTik” (Figure 1)
- Navigate to the MikroTik CHR appliance and click on it (Figure 2)
- Download the appliance by hitting the Download button
- Scroll down to the most recent version of the image and click on the Download link. In this case, we are using the chr-7.7.img (Figure 3)
- Navigate to your downloads folder (or wherever you download the files) and unzip the image file
- Start GNS3 Workspace
- At the GNS Workspace top ribbon bar, go to File and on the submenu click on Import Appliance (Figure 4)
- Select the appliance file that you downloaded (Figure 5)
- Press the Open button
- Select the server type Install the appliance on the GNS3 VM (recommended) and press the Next button (Figure 6)
- Accept the default QEMU settings and press the Next button (Figure 7)
- Highlight the Appliance Version (in this case we are using version 7.10.1) and you will see the status Missing Files. To fix this, click on Import (Figure 8)
- Navigate to where you unzipped the image file from Step 6 (Figure 9)
- Now the status has changed to Ready to Install. Highlight the Ready to Install and click on Next (Figure 10)
- Confirm the installation by pressing Yes
- Read the notes, and press Finish (Figure 11)
- You will now see the MikroTik router in the Routers Menu. You can drag it to the workspace and start it to make sure it runs (Figure 12)
End of Lab
List of Figures
![Searching GNS3 Marketplace for Mikrotik appliances A depiction of the website](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft-ch1-mikrotik-1.png)
![Showing the MikroTik CHR appliance on GNS3 Marketplace A depiction of the website](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft-ch1-mikrotik-2.png)
![Downloading MikroTik router image A depiction of the website](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft-ch1-mikrotik-3.png)
![Screenshot of GNS3 Workspace menu selection Screenshot of menu selections](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft-ch1-mikrotik-4.png)
![Selecting the appliance to import into GNS3 Workspace Screenshot of commands](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-5.png)
![Configuring the GNS3 Workspace with a MikroTik appliance Screenshot of commands](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-6.png)
![Accept the QEMU settings Screenshot of commands](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-7.png)
![Correct missing files for MikroTik router Screenshot of commands](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-8.png)
![Navigate to where image file is saved after unzipping Screenshot of commands](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-9.png)
![Installing the MikroTik Router Screenshot of commands](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-10.png)
![Finish addition of MikroTik router to GNS3 environment Screenshot of commands](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-11.png)
![MikroTik Router installed to GNS3 Working Environment Depiction of the menu that needs to be clicked on.](https://eaglepubs.erau.edu/app/uploads/sites/10/2023/06/draft_mikrotik_figure-12.png)