"

3 Adding a MikroTik Appliance in GNS3

Mathew J. Heath Van Horn, PhD

MikroTik is a Latvian manufacturer of enterprise network equipment. Their network hardware is utilized in enterprise networks worldwide. 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 when 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

Contributors and Testers

Testers:

  • Enzo Gonzalaz

Phase I – Installing a MikroTik router

Many learners utilize MikroTik routers to learn fundamental principles of enterprise networking. You will find many instructional sites on the internet using MikroTik in GNS3.

 

Depiction of the menu that needs to be clicked on.
Figure 12 – MikroTik Router successfully installed in the GNS3 Working Environment
  1. Visit the GNS3 Marketplace at https://www.gns3.com/marketplace/appliances
  2. In the search appliances field, type “MikroTik”
    A depiction of the website
    Figure 1 – Searching GNS3 marketplace for MikroTik appliances
  3. Navigate to the MikroTik CHR appliance and click on it
    A depiction of the website
    Figure 2 – Showing the MikroTik CHR appliance on the GNS3 marketplace
  4. Download the appliance by hitting the Download button
  5. 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
    A depiction of the website
    Figure 3 – Downloading the MikroTik router image from the GNS3 marketplace
  6. Navigate to your downloads folder (or wherever you downloaded the files) and unzip the image file
  7. Start the GNS3 Workspace
  8. At the GNS3 Workspace top ribbon bar, go to File, and on the submenu, click on Import Appliance

    Screenshot of menu selections
    Figure 4 – Screenshot of GNS3 Workspace menu selection
  9. Select the appliance file that you downloaded and unzipped
    Screenshot of commands
    Figure 5 – Selecting the appliance to import into GNS3 Workspace
  10. Press the Open button
  11. Select the server type: Install the appliance on the GNS3 VM (recommended) and press the Next button
    Screenshot of commands
    Figure 6 – Configuring the GNS3 Workspace with a MikroTik appliance
  12. Accept the default QEMU settings and press the Next button
    Screenshot of commands
    Figure 7 – Accept the QEMU settings
  13. 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
    Screenshot of commands
    Figure 8 – Correct the missing files for the MikroTik router
  14. Navigate to where you unzipped the image file from Step 6
    Screenshot of commands
    Figure 9 – Navigate to where the image file was saved after unziping
  15. Now the status has changed to Ready to Install. Highlight the Ready to Install and click on Next
    Screenshot of commands
    Figure 10 – Installing the MikroTik CHR router
  16. Confirm the installation by pressing Yes
  17. Read the notes, and press Finish

    Screenshot of commands
    Figure 11 – Finish the addition of a MikroTik router to the GNS3 environment
  18. 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
    Depiction of the menu that needs to be clicked on.
    Figure 12 – MikroTik Router successfully installed in the GNS3 Working Environment

End of Lab

Feedback email
Figure 00 – Contact us via prmaster@erau.edu

License

Icon for the Creative Commons Attribution-NonCommercial 4.0 International License

Mastering Enterprise Networks 2e Copyright © 2024 by Mathew J. Heath Van Horn is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, except where otherwise noted.