Installing Mikrotik RouterOS under VirtualBox

Installing Mikrotik RouterOS under VirtualBox

MikroTik RouterOS is a Linux based operating system that runs on proprietary hardware (RouterBOARD),
 or on standard x86-based computers.

You can install it in VirtualBox and play around with this virtual device.

For real hands on experience with Mikrotiks , better buy the actual equipment since they are cheap.

Go to their website and download the latest Router OS for PC/86
At this time v5.18 is latest stable available version. Also available in torrent.

Create a new Virtual Machine in VirtualBox as per example below.


Use recommended memory size of 256 MB 





Size of Virtual drive can be 512 MB






The trick here is to move the existing just created VDI image (under SATA) to IDE and load the ISO file as well. 
See below the steps  and screenshots in detail.
  1. Go to the VM just created and Storage -> Controllers: SATA 
  2. Click on the *.vdi file and on your right and under Information note the Location of the file.
  3. Remove the *.vdi attached under SATA.
  4. Then go to Storage -> Controllers: IDE and add a new Hard Disk ( right icon)  and choose existing Disk.  
  5. Go to  the Location you noted above and load the VDI image.
  6. Go to Storage -> Controllers: IDE -> Empty and from the Attributes on the right load the RouterOS ISO .







Start the virtual machine just created and Install the basic modules.






Remove the ISO image and start RouterOS virtual machine




Another trick you can do , if you need more devices for temporary testing, is to create a master virtual machine.
 Then create full clones of that machine. Never start the master machine so that remaining time does not change.





Use the fully cloned VM and start the machine .
Now you can use CLI to enter any commands . 

Try the following commands to see the MAC and enable dhcp client on ether1 port.

 interface ethernet print  
 ip dhcp-client add interface=ether1 disabled=no  





 Or you can install winbox under Linux using WINE. Make sure you have correct permissions (see below)
$ ls -al winbox.exe
-rwxr-xr-x 1 stelios stelios 114176 Jun 11  2013 winbox.exe

$ wine winbox.exe  

And search for the RouterOS (under VirtualBox) MAC address (shown above)






Also, once you have an IP address on the mikrotik you can use a browser too.


Comments

Roberto said…
This place is perfect for secure storage. Employees are exceptionally professional. Oh, and to those of you looking for a place to rent: I did my homework before choosing this place, and the prices are the best.
Caravan storage in Brisbane
Mounika said…
Some us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage contribution from other ones on this subject while our own child is truly discovering a great deal. Have fun with the remaining portion of the year.
Click here:
Microsoft azure training in tambaram
Click here:
Microsoft azure training in chennai
Click here:
Microsoft azure training in annanagar
Click here:
Microsoft azure training in velarchery
Unknown said…
I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
Blueprism training in Chennai

Blueprism training in Bangalore

Blueprism training in Pune

Blueprism online training

Blueprism training in tambaram
anirudh said…
Thank you for sharing the article. The data that you provided in the blog is informative and effective. The information which you have provided is very good. It is very useful who is looking for Best Devops Training Institute
Ajish said…
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
Angular Js training in Electronic City
rocky said…
Really very nice information. . It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal.
python training in chennai

python online training in chennai

python training in bangalore

python training in hyderabad

python online training

python flask training

python flask online training

python training in coimbatore


Popular Posts