Mikrotik under Qemu in GNS3 1.2.3

Better alternative is to run Mikrotik under VirtualBox instead of Qemu
Download and install GNS3 All-in-One that already include Qemu and WireShark
Download latest mikrotik iso from http://www.routeros.co.id/ and put into c:\Program Files\GNS3>
click Start/Search cmd
right click cmd and “Run as administrator”
>cd c:\Program Files\GNS3\qemu-2.1.0
>qemu-img.exe create -f qcow2 mikrotik.img 128M
>qemu-system-x86_64w.exe mikrotik.img -boot d -cdrom mikrotik-6.27.iso
press a
press i
Do you want to keep old configuration? [y/n]n
Warning: all data on the disk will be erased!
Continue? [y/n]y
when it ask to press ENTER to reboot, just click Close
-verify mikrotik.img
>qemu-system-x86_64w.exe mikrotik.img
Mikrotik Login: admin
empty password
-open GNS3 menu Edit/Symbol Manager
-open GNS3 menu Edit/Preferences
click Qemu/Qemu Guest
09-Mar 04.47.46
Install loopback
-Welcome to the Add Hardware Wizard
click Next
-The wizard can help you to install other hardware
click Install the hardware that I manually select from a list (Advanced)
click Next
-From the list below…
click Network adapters
click Next
-Select Network Adapter
select Microsoft/Microsoft KM-TEST Loopback Adapter
click Next
-The wizard is ready to install your hardware
click Next
-Completing the Add Hardware Wizard
click Finish
Rename Ethernet 2 nic to Loopback
click 2x your Loopback nic
disable iov6
click 2x IPv4 and set your pc loopback ip address
-right click GNS3/Run as Administrator
-drag Cloud
-right click Cloud C1 and choose “Change the hostname”
-change C1 to Cloud1 hostname
-click 2x Cloud Cloud1
change NIO Ethernet/Generic Ethernet NIO to Loopback NIC
click Add
In picture above I need to use Hub instead of Switch for GNS3 1.2.3, because if I use switch, I can’t ping host loopback ip address
-Start mikrotik
Click 2x mikrotik
Set console port to 8291, so that you can connect Winbox from your PC to mikrotik ip address
09-Mar 05.22.14
-set Mikrotik ip address
>ip address add address= interface=ether1
>ip address print
To connect your PC to Cloud1
set your pc ip to static ip
-click Advanced
-click Add IP Address
-click Add
Now, if you try to ping from your pc to Cloud1 loopback. You should get reply
Pinging with 32 bytes of data:
Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time<1ms TTL=128
Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
-open WInbox and go to

One thought on “Mikrotik under Qemu in GNS3 1.2.3

  1. Pingback: Cara Install Mikrotik menggunakan Qemu di GNS3 – Rahmad Rumoh Aceh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s