User Tools

Site Tools


OpenWrt on VMware HowTo

This article describes how to use OpenWRT as a virtual machine with VMware virtualisation.

Tested with:

  • Barrier Breaker 14.07 in combination with VMWare ESXi 5.5 Update 2 Build 2068190
  • Chaos Calmer 15.05 with VMware Fusion and ESXi 6.0

Things you need:

First of all, you need to download the image from list above on a Linux machine. After that you extract & convert it to a vmdk image:

yum -y install qemu-img
gunzip openwrt-15.05-x86-64-combined-ext4.img.gz
qemu-img convert -f raw -O vmdk openwrt-15.05-x86-64-combined-ext4.img openwrt-15.05-x86-64-combined-ext4.vmdk


gunzip openwrt-x86-generic-combined-ext4.img.gz
qemu-img convert -f raw openwrt-x86-generic-combined-ext4.img  -O vmdk openwrt-x86-generic-combined-ext4.vmdk

after that, just create a new VM in Fusion, Workstation, or ESXi with "Linux\Other Linux 32-bit" with LSI BUS Logic & add the vmdk there. Use 1000e Network adapters.

On fusion I had to use the IDE drive controller type.

BTW… you can download an OVA image of cc 1505 from the following location:

ToDo List

Here's a wish list of things we would like to accomplish with OpenWRT - consider this technical debt.

(Is there a better place to make these requests?)

  1. install open-vm-tools to enhance support on VMware hypervisors
  2. install cloud-init capabilities to allow auto-configuration on OpenStack based clouds like OPNFV
  3. create jenkins job as part of CI to download and convert the raw image to vmdk with each build
  4. create jenkins job as part of CI to download and convert the raw image to qcow2 with each build
  5. do these conversions for both stable and trunk
  6. integrate OpenWRT into the CI Pipeline for other network testing projects like OPNFV

doc/howto/vmware.txt · Last modified: 2015/11/07 23:56 by tmomas