Minggu, 08 Juni 2014


How to install Mikrotik in GNS3



hi friend, thank you for visiting my blog Now I will make the article "How to install Mikrotik in GNS3".

because many students who have difficulty in learning networks because the price is so expensive hardware,This is the best solution for learning networks.Sometimes, we want to make some proxy network topology and test how it works, to For example, we want to make some test with 4-8 routers to simulate 
real estate and network with routerboard. We need It money to make a real laboratory.

TOOLS & INGREDIENTS :


1.GNS3



  • Graphic Network Simulator
  • Open Source Software
  • Running on Windows, Linux
  • Simulate complex network topologies
  • Running multi vendor devices
  • See detail at www.gns3.net
2.QEMU
  • Known as Quick EMUlator
  • Open source software
  • Emulates full system (usually a PC)
  • Launch a different OSIf you already download gns3 all in one, you don’t need to download Qemu again
  • See detail at www.qemu.org
3.Mikrotik iso
  • Has Mikrotik license level 0
  • Made for x86 hardware architecture
  • Usually burn in to CD
  • To install MikroTik in to PC or power PC
  • See detail at www.mikrotik.com
4.Virtual Box
  • VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use.
  • See detail at www.virtualbox.org
5.Operating System ( Windows /Linux )
  • download os to be made in the virtual,search for free os
Note : preparations are complete,install first your software GNS3 dan Virtual box,qemu software will be automatically installed when you install GNS3


Lab Demo :

1. After download All tool & ISO file, move ISO file to the folder where the GNS3 program
located. Go to command line and move to GNS3 folder.

C:\Users\admin>cd C:\Program Files\GNS3
C:\Program Files\GNS3>

2. Then run the command to make the image file, for example named mikrotik.img

C:\Program Files\GNS3>qemu-img.exe create -f qcow2 mikrotik.img 256M

Until a successful image-making information
Formatting 'mikrotik.img', fmt=qcow2 size=268435456 encryption=off
cluster_size=0

3.Install ISO file to the current image, I assume that the ISO file name is
“mikrotik.iso”, you can adjust file name to match with the following command

C:\Program Files\GNS3>qemu.exe mikrotik.img -boot d -cdrom
"mikrotik.iso"

4. Qemu will show MikroTik installation process similar to when we install it
using CD-room



5. After the installation is complete (indicated by RouterOS reboot), close the
window and try boot from image

C:\Program Files\GNS3>qemu.exe mikrotik.img -boot c

Qemu will boot and run routeros until see the login promt MiroTik routeros.



Sometime file “mikrotik.img” that we already create not found in GNS3

folder, you need try to search it first in drive C, and copy it to GNS3 folder.



This Mikrotik already be in use, to setup and run them topoloy you should read the next article.








Tagged:

7 komentar:

  1. Thank you very much man! You saved me from a lot of searching!

    Update:

    On GNS3 1.3.6 all-in-one, QEMU is in a separate directory (gns3\qemu-2.2.0), so its better to copy the .iso file in this dir.
    On many sites i saw the qemu system load command with the "-localtime" switch and it didn't work for me.
    I recommend u guys, to use the following:
    (64bit cpu)
    qemu-system-x86_64w.exe mikrotik.img -boot d -cdrom "<.iso name here>"
    (32bit cpu)
    qemu-system-i368w.exe mikrotik.img -boot d -cdrom "<.iso name here>"

    Hope i could help u guys who ran into the same problem!

    BalasHapus

  2. C:\Program Files\GNS3>qemu-img.exe create -f qcow2 mikrotik.img 256M
    Access is denied.

    C:\Program Files\GNS3>

    BalasHapus
  3. yes, i get the same error and i foud that the file is qemu-img.exe / qemu.exe is 0 size, so, i reinstall the package
    and it worked great :)

    BalasHapus
  4. First run cmd as admin:

    C:\Windows\system32>cd C:\Program Files\GNS3

    C:\Program Files\GNS3>cd qemu-2.4.0

    C:\Program Files\GNS3\qemu-2.4.0>qemu-img.exe create -f qcow2 mikrotik.img 256M
    Formatting 'mikrotik.img', fmt=qcow2 size=268435456 encryption=off cluster_size=
    65536 lazy_refcounts=off refcount_bits=16

    C:\Program Files\GNS3\qemu-2.4.0>qemu.exe mikrotik.img -boot d -cdrom
    "qemu.exe" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.

    C:\Program Files\GNS3\qemu-2.4.0>qemu-system-x86_64w.exe mikrotik.img -boot d -c
    drom "mikrotik-6.38.1.iso"

    C:\Program Files\GNS3\qemu-2.4.0>

    BalasHapus
    Balasan
    1. Una vez aque ejecutas el cdrom de la iso de microtik, se te abre el qemu? A mi, me finaliza igual que a ti.... ya no se si es problema de windows o que puede ser....

      Hapus
  5. hey bro,,,when i want mikrotic iso setup then show this msg,,,what i can do...any way...that's mean any software install...plz response

    BalasHapus
  6. Casinos Near Foxwoods Resort Casino in Bowdoin, Connecticut
    Find out more about Foxwoods 전라북도 출장안마 Resort Casino in 상주 출장샵 Bowdoin, including details 전라북도 출장샵 on 포항 출장안마 casino activities, games 김해 출장샵 offered and promotions,

    BalasHapus