Insights
WiFi & Internet TipsAugust 7, 20263 min read

Step-by-Step Guide: How to Install MikroTik RouterOS on VirtualBox for Beginners

Virtualization software has revolutionized how we learn and test new systems without the need for expensive hardware. Among the plethora of tools available, VirtualBox and VMware stand out as the most popular choices. These platforms allow you to run a virtual operating system right inside your primary OS, making it feel like you have a second computer running in a window. It is important to note that this is different from a dual-boot setup; in VirtualBox, the guest system is entirely virtual and doesn't interfere with your main machine's partition.

For networking enthusiasts and students, VirtualBox is a lifesaver for installing RouterOS. This is the default operating system used in MikroTik devices. In Indonesia, MikroTik is a household name in the networking world, widely used to manage internet traffic in offices, schools, and small businesses. However, while entry-level hardware like the RB750 series is relatively affordable—costing around 600,000 IDR online or up to 700,000 IDR in physical stores—it can still be a significant investment for students on a budget. This is where virtualization comes in, allowing you to access the exact same configurations and menus as the physical hardware for free.

Preparing the Virtual Machine Environment

To get started, you first need to have VirtualBox installed and the RouterOS ISO file ready for use. The initial setup involves creating a dedicated container for the OS. Open VirtualBox and navigate to Machine > New. When the prompt appears, give your machine a name like "MikroTik." For the Type and Version, simply select "Other," as RouterOS is a specialized Linux-based system that doesn't fit the standard Windows or Ubuntu templates.

In terms of hardware resources, RouterOS is incredibly lightweight. Allocating just 64 MB of RAM is more than enough to get the system running smoothly. After setting the memory, proceed to create a virtual hard disk. Select "Create a virtual hard disk now" and choose the VDI (VirtualBox Disk Image) format. For storage management, choosing "Dynamically allocated" is the best practice as it only uses physical disk space as it fills up. For the size, 2 GB is plenty for a basic MikroTik setup.

Configuring Storage and Network Settings

Before launching the installation, you need to link the ISO file to your virtual machine. Click on the Settings icon for your MikroTik VM. Go to the Storage menu, find the controller that says "Empty," and click the DVD icon on the right to browse for your MikroTik RouterOS ISO file. Once selected, you will see the file listed under the controller.

Next, head over to the Network tab. This is a critical step if you want to communicate with the virtual router from your host PC. Ensure "Enable Network Adapter" is checked, and change the attachment type to "Host-only Adapter." This setting creates a private network between your computer and the virtual MikroTik, allowing tools like WinBox to discover the device later. Once these settings are finalized, click OK and hit the Start button.

FTTH Network Design

Fiber network designs you can actually rely on.

We handle the heavy lifting. From local surveys in Java & Medan to detailed FTTH grid designs, we make sure your network makes sense.

The Installation Process and Initial Login

Once the virtual machine boots up, you will be greeted by the RouterOS installation screen. This interface is keyboard-driven. To install all the necessary networking features, press the 'a' key to select all packages, then press 'i' to initiate the installation. The system will ask if you want to keep the old configuration; since this is a fresh install, type 'y' to proceed. The installation is remarkably fast.

After the process finishes, you will be prompted to reboot. However, there is a crucial trick here: before pressing Enter to reboot, go back to the Storage settings in VirtualBox and remove the ISO file (eject the virtual disk). If you don't do this, the machine might boot back into the installation menu instead of the installed OS.

Once the system reboots, you will reach the login prompt. By default, the username is 'admin' and there is no password. Simply hit Enter twice to bypass the password field. You have now successfully installed MikroTik on VirtualBox! From here, you can connect via WinBox to start configuring your virtual network just as you would with a physical router. This setup is the perfect playground for mastering network management without spending a dime on hardware.

Discussion (0)