🔧 Requirements
- VirtualBox
installed (latest version recommended)
- MikroTik
RouterOS image (CHR – Cloud Hosted Router)
- Download
from: https://mikrotik.com/download
- Choose
CHR version > download the .img file (RAW disk image)
🪛 Step-by-Step
Installation Guide
1. Convert .img to .vdi (VirtualBox format)
VirtualBox does not support .img directly, so you need to
convert it:
Open terminal (Command Prompt or PowerShell on Windows,
Terminal on macOS/Linux):
#bash
VBoxManage convertfromraw --format VDI routeros-7.xx.img
routeros.vdi
- Replace
routeros-7.xx.img with the actual filename.
- This
creates a routeros.vdi file.
2. Create a New Virtual Machine in VirtualBox
- Open VirtualBox,
click New.
- Name: MikroTik-CHR
- Type: Linux
- Version:
Other Linux (64-bit)
- RAM:
Minimum 256MB (512MB or more recommended)
- Click Create,
then:
3. Attach the Converted Disk
- Go to Settings
> Storage
- Remove
the default virtual hard disk (optional).
- Click Add
Hard Disk > Choose existing disk > select the routeros.vdi
file.
- Make
sure it's attached to the SATA controller.
4. Configure Network Settings
- Go to Settings
> Network
- Enable
Adapter 1, set to Bridged Adapter or NAT (depending
on your setup).
- Optionally,
enable Adapter 2 as an Internal Network or Host-only
Adapter if simulating multi-interface setups.
5. Start the Virtual Machine
- Click Start.
- RouterOS
should boot into the command line.
- Default
username: admin
- No
password (just press Enter)
🧪 Optional: Access via
Winbox/WebFig
- From
your host PC, download Winbox: https://mikrotik.com/download
- Winbox
will detect the virtual MikroTik via MAC or IP.
- Log in
and start configuring via GUI.
🔁 Useful Tips
- After
first login, set a password for the admin account.
- Use Snapshots
in VirtualBox to save states before making big changes.
- You
can use multiple network adapters to simulate routers, firewalls,
or gateways.
0 Comments