Skip to main content

Install RouterOS in a virtual machine and connect it to CONTROL

Overview

This guide walks you through installing RouterOS in a VirtualBox virtual machine and connecting it to CONTROL using the TR-069 protocol.

Prerequisites

  • VirtualBox installed on your system
  • Internet connection to download RouterOS files
  • Basic familiarity with virtual machine management

Step 1: Download RouterOS

Visit the MikroTik download page and download the following files:

  • RouterOS 6.48.6 Long-term x86 ISO image
  • Extra packages (contains the TR-069 package)

Download page screenshot


Step 2: Create the Virtual Machine

Configure VM Settings

  1. Open VirtualBox and create a new virtual machine

Create VM screenshot

  1. Enter the required information as shown below

VM name and type

  1. Allocate RAM memory (64 MB is sufficient for RouterOS)

RAM allocation

  1. Create a virtual hard disk with the following settings:

Hard disk creation - Step 1

Hard disk creation - Step 2

Hard disk creation - Step 3

Hard disk creation - Step 4

Configure Network Adapters

  1. After the VM is created, add an additional network adapter in the VM settings

VM summary

  1. The network configuration should look like this:

Network configuration


Step 3: Install RouterOS

Boot and Installation

  1. Start the virtual machine

Start VM

  1. Select the RouterOS ISO image and boot the VM

Select ISO

  1. When the package selection screen appears, press A to select all packages

Package selection - Before

Package selection - After

  1. Press I to start the installation and confirm when prompted

Installation confirmation

  1. After installation completes, unmount the ISO image to prevent the installation wizard from restarting

Unmount ISO


Step 4: Initial Configuration

Login to RouterOS

  1. Once the login screen appears, use the default credentials:
    • Username: admin
    • Password: (leave blank)

Login screen

Assign IP Address

  1. Add an IP address to enable remote access. For this example, we'll use 192.168.1.50:
ip address add address=192.168.1.50/24 interface=ether1

Add IP address

  1. Verify the IP address was added correctly:
ip address print

Verify IP address

Access Web Interface

  1. Open a web browser and navigate to the RouterOS web interface using the IP address you configured:
http://192.168.1.50/webfig/

Web interface login

  1. Click on WebFig to access the full configuration interface

WebFig interface


Step 5: Install TR-069 Package

  1. Navigate to Files in the WebFig interface and upload the TR-069 package

Files menu

  1. Extract the downloaded Extra packages archive and locate the TR-069 package file

Extract packages

Locate TR-069 package

  1. Reboot the router to complete the package installation

Reboot system

  1. After reboot, verify that TR-069 is enabled in the system

TR-069 enabled


Step 6: Obtain RouterOS License

RouterOS displays a warning message indicating you have 24 hours to use the software without a license. You must register to obtain a free demo license.

Save Software ID

  1. Note the Software ID displayed in the license warning message

Software ID

Generate License Key

  1. Register for a MikroTik account at the registration page

  2. After logging in, navigate to MAKE A DEMO KEY, enter your Software ID, and generate the license

Generate license - Step 1

Generate license - Step 2

Activate License

  1. Connect to RouterOS via SSH

SSH connection

  1. Paste the license key in the terminal and reboot to complete activation

Paste license key

  1. After reboot, a confirmation message indicates the license was successfully activated

[![License activated](https://docs.zequenze.com/uploads/images/gallery/2022-02/scaled-1680-/kxs0BYgcbsxaeEkM-image-1645825