GNS3: Menambahkan Image OpenWRT di VirtualBox

From OnnoWiki
Jump to navigation Jump to search

Kita perlu mempersiapkan OpenWRT x86 dalam VirtualBox agar nantinya dapat menggunakan router openwrt untuk GNS3.


Clone

Nampaknya kita perlu membuat OpenWRT x86 dalam VirtualBox sebanyak router yang akan kita gunakan dalam simulator GNS3.

  • Cara paling gampang adalah Klik Kanan pada mesin virtual yang sudah ada, pilih "Clone"
  • Pilih "Reinitialized the MAC address of all network cards"
  • Pilih "Full Clone"

Cara OpenWRT Router Virtual

Cara yang perlu dilakukan minimal adalah:

  • Jalankan VirtualBox
  • Klik New
  • Pilih type > Linux > Other 32bit > Name: OpenWRT-Router (misalnya) > Next
  • Create a virtual hard drive now > Create > (VDI) VirtualBox Disk Image > Next
  • File allocation and size > 100MB > Create

Setting

  • Settings > System > Boot order (buang Floppy)
  • Settings > Network > Adapter 1 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
  • Settings > Network > Adapter 2 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
  • Settings > Network > Adapter 3 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
  • Settings > Network > Adapter 4 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All > OK

Load OS

  • Masuk ke menu VirtualBox
  • Klik Mesin Virtual yang baru kita buat > Start
  • Klik Start
  • Jika di tanya boot CDROM > Klik OpenWRT-x86.iso file
  • Tekan ENTER > kita akan masuk ke console openwrt.

Shutdown OpenWRT

  • Di console OpenWRT
  • Ketik "halt"


Cara membuat file openwrt-x86.iso di terangkan di

Pranala Menarik