Home / Mikrotik Router Configuration / How to Install and Configure Mikrotik on GNS3 using VirtualBox

How to Install and Configure Mikrotik on GNS3 using VirtualBox

How to Install and Configure Mikrotik on GNS3 using VirtualBox

As I discussed in the previous article on Learning Mikrotik without RouterBoard Using GNS3, this time I will share a way to Install Mikrotik in GNS3 using VirtualBox to create Mikrotik Packet Tracer: D. Why VirtualBox? Why not use Qemu just lightly? The answer is because it’s easier. So it’s better to use an easier one instead of going straight to the hard one: D.

Okay, we just start How to Install and Setting Mikrotik in GNS3 using VirtualBox. But first, prepare the weapons and ammunition first:

1. Download GNS3. Please download GNS3 v1.2.3 here (In this tutorial I am using GNS3 version 1.2.3, if using different version maybe way and its menu also different) or can directly download the latest version in its web gns3.com.

2. Download VirtualBox. Please download on virtualbox.org.

3. Download the Mikrotik RouterOS image in VirtualBox. Please provide your own RouterOS image files and licenses.

4. Download Winbox Mikrotik here.

Once the weapons and ammunition are ready, let’s plunge into the battlefield: D

Steps to Install GNS3:

1. Right click on GNS3 installed, Run as Administrator.

2. Click Next, Next, Accept, Install.

3. The installer will ask to install WinpCap automatically. Install WinpCap to complete.

4. The installer will also ask for download and install Wireshark automatically. You can cancel this process, but I suggest to continue to install Wireshark to complete.

5. The installer again asks for download and install Solarwinds automatically. You can also cancel this process, but I suggest to continue installing Solarwinds to complete.

6. When finished, click next and Finish. The GNS3 window will appear as follows.

Install and Configure Mikrotik on GNS3

Steps to Install Mikrotik in VirtualBox:

1. Install VirtualBox.
2. Add the Mikrotik RouterOS image to the VirtualBox VM. Click New.

Install and Configure Mikrotik on GNS3

3. Fill the amount of RAM to taste, for example, 256 MB.

Install and Configure Mikrotik on GNS3

4. Fill the size of the hard drive sufficiently, for example, 750 MB.

Install and Configure Mikrotik on GNS3

5. Insert the Mikrotik RouterOS image file. Right-click -> Settings -> Storage -> empty -> Choose a virtual CD / DVD disk file.

Install and Configure Mikrotik on GNS3

6. Select the RouterOS image (iso) file.

Install and Configure Mikrotik on GNS3

7. Setting Network to host-only adapter.

Install and Configure Mikrotik on GNS3

8. Start the VM.

Steps of Mikrotik VirtualBox VM integration into GNS3:

1. Open GNS3 -> click Edit -> Preferences -> VirtualBox -> Check Path to VBoxManage. If the path is empty or awesome, click browse to find the file.

Install and Configure Mikrotik on GNS3

2. The correct path is in C: \ Program Files \ Oracle \ VirtualBox \ VBoxManage.exe
If already click Apply.

Install and Configure Mikrotik on GNS3

3. Go to VirtualBox menu VM -> New -> select Mikrotik VM from VM list -> Finish. If its loading list is long, cancel and keep trying again.

Install and Configure Mikrotik on GNS3

4. Mikrotik VM will appear, then we can change its Mikrotik symbol with right click -> Change Symbol -> Select Symbol it -> Ok

Install and Configure Mikrotik on GNS3

5. If so, click OK on Preferences. Go to the worksheet. Open a tab containing 4 symbols -> Find Mikrotik -> Drag and Drop to the worksheet.

Install and Configure Mikrotik on GNS3

6. Right click on Mikrotik -> Configure -> Mikrotik -> Network tab -> Add Adapter if necessary. We can add the number of adapters that will add also the number of ether interfaces in Mikrotik. Click OK.

Install and Configure Mikrotik on GNS3

7. Now we can insert other devices into the worksheet. Then connect all the devices with add a link menu.

Install and Configure Mikrotik on GNS3

8. Next, connect Mikrotik its VM -> right click Start.

Install and Configure Mikrotik on GNS3

9. The VirtualBox Mikrotik VM window will appear. Please login and setting its Mikrotik.

Install and Configure Mikrotik on GNS3

10. I demonstrated to connect Mikrotik with PC Client:

IP Address Mikrotik: 10.10.10.1/24
IP Address PC Client: 10.10.10.2/24
IP Gateway PC Client: 10.10.10.1

11. Turn on PC client -> right click Start -> Enter command to add IP Address & Gateway:

Ip 10.10.10.2/24 10.10.10.1

save

Install and Configure Mikrotik on GNS3

12. Try pinging from PC Client to gateway and succeed. To exit type command:

Disconnect

Install and Configure Mikrotik on GNS3

Okay, successful.
[\hide]

About admin

Check Also

Load Balance 2 WAN in Mikrotik

How to Load Balance 2 WAN in Mikrotik

How to Load Balance 2 WAN in Mikrotik This article again discusses Load Balancing, which …

Leave a Reply

Your email address will not be published. Required fields are marked *