# Mikrotik RouterOS in VirtualBox #### Microsoft Visual C++ Redistributable: - required by VirtualBox - https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 - direct link: https://aka.ms/vs/17/release/vc_redist.x64.exe #### Oracle VirtualBox: - https://www.virtualbox.org/wiki/Downloads - click "Windows Hosts" #### Mikrotik RouterOS: - https://mikrotik.com/download - WinBox 3.42 (4.x seems crazy) - direct link: https://download.mikrotik.com/routeros/winbox/3.42/winbox.exe - RouterOS v6 (6.x supports 32-bit VM, 7.x requires 64-bit only) - X86 => CD Image - direct link: https://download.mikrotik.com/routeros/6.49.18/mikrotik-6.49.18.iso #### CreateVM: - name = ..for example, mikrotik1 - ISO = ..path to downloaded mikrotik ISO #### VM Networks: - Adapter 2 = Enable - Type = Virtual adapter - Name = VirtualBox **Host-Only** Ethernet Adapter #### RunVM: - a = select all - i = install - n = dont keep old config - y = continue - ENTER = reboot -- Eject CD-ROM! #### Login: - admin = username - ENTER = password - n = see license - qwert = newpass - qwert = newpass repeat #### Setup: ``` /ip dhcp-client add interface=ether1 disabled=no /ip dhcp-client add interface=ether2 disabled=no /ip address print /ip route print /ping fb.me ``` #### Winbox: - ip = 192.168.56.101 (or .102 = see in output of /ip route print) - user = admin - pass = qwert #### Features: - https://help.mikrotik.com/docs/spaces/ROS/pages/328149/RouterOS+license+keys#RouterOSlicensekeys-RouterOSlicensekeylevels - Level 0 = First 24h without license key = max features - Level 1 = Demo version with free registration = min features