Install MikroTik RouterOS on VirtualBox

27 July 2009 by Fuad NAHDI
Categories: Mikrotik | Tags: , | 5 comments

Mikrotik is a Linux-based operating system that bundled with many tools already included such as static/dynamic routing, wireless, hotspot, bandwidth manager and many more. The thing that makes it more attractive is its price that much much cheaper than other router equipment brands.

To test mikrotik, you can download the iso file and install it on your PC or laptop.

Then you need to buy a licence to make it usable. Otherwise it will expire in 24 hours.

The easiest way to test mikrotik without buying the licence is using virtual machine.

This tutorial will show you how to install Mikrotik in Virtualbox, an open source and free virtual machine developed by Sun Microsystem.

Here are the steps:

  1. Download the Mikrotik iso file on its website here. At the time this tutorial is written, the latest stable version is mikrotik-3.27.iso. Save it in you hard disk. We will boot mikrotik directly from the iso file so we do not need to burn it on a CD/DVD.
  2. [ad#Chitika468x180]

  3. Run your Virtualbox software. Click Machine > New (Ctrl+N) to create new virtual machine through Virtual Machine Wizard. Then click Next.
  4. On the VM Name and OS Type window, insert “Mikrotik” under the Name. Under OS Type, select Linux as Operating System and Other Linux as Version, then click Next.
  5. VM Name and OS Type (click to enlarge)

  6. For the memory allocation to the virtual machine, accept as default (256 MB) and then click Next.
  7. Memory Allocation (click to enlarge)

  8. On the Virtual Hard disk, check the Boot Hard Disk (Primary Master) option. And then we need to create new hard disk for the mikrotik to install.
  9. Virtual Disk Location and Size (click to enlarge)

  10. Create Virtual Disk Wizard will come up. Select Dynamically expanding storage for the Storage Type (selected by default).
  11. Since mikrotik is very small software, 512 MB space is more than enough for you. Then click Finish.
  12. The next step is point the virtualbox to use iso image file to boot. To do this, click Setting > CD/DVD-ROM. Check Mount CD/DVD Drive and select ISO Image File then point to the mikrotik iso file. Make sure in System category, the first Boot Order is using CD/DVD-ROM, then click OK.
  13. Mount ISO Image (click to enlarge)

    System Boot Order (click to enlarge)

  14. Now it is the time to start to boot from ISO Image File. Make sure that Mikrotik virtual machine is selected and then click ‘Start’.
  15. Mikrotik will boot and after detecting all the devices, the “Welcome to MikroTik Router Software Installation” and you are ready to continue to install the softwares you need.
  16. Mikrotik Software Installation (click to enlarge)

  • Pingback: Instal Mikrotik Router OS di Virtual Box « Belajar Informatika

  • Pingback: How to access Mikrotik using winbox in Virtualbox

  • Ekoy77

    Hello I'm New At Mikrotik

    BTW Are when we use virtual box for mikrotik instalastion it will use a lot of ram.

    And can you specify the hadware for using mikrotik with virtual box Thanks for the Answer.

  • http://www.techonia.com Fuad NAHDI

    Hi Gyula,

    You should be able to access to the LAN directly from the MT by configuring on the Network interface of Virtualbox, but I am not sure if it can connect to Wifi Access point via Wifi cards.

  • http://p2pfogadas.hu Gyula

    Hi,

    if I run the MT router on VirtualBox, can the MT access to the LAN and wifi cards directly or only via emulated cards by the HAL (hardware abstraction layer) of VB? Thank you!

«

»