Manual:CHR VMWare installation

From MikroTik Wiki
Jump to navigation Jump to search

How to Install Cloud Hosted Router on VMWare Fusion

Video instruction

VMWare

Step by Step Instruction

Create a new virtual machine

  • Step 1:

VMWare

  • Step 2:

VMWare

  • Step 3: Choose existing virtual disk

VMWare

VMWare

  • Step 5:

VMWare

  • Step 6: By default VMWare uses 256MB RAM, adjust the size if needed, any size starting from 128MB can be used for RouterOS

VMWare

  • Step 7: Adjust the size of the RAM

VMWare

  • Step 8:

VMWare

  • Step 9: By default CHR disk image is 128MB. If bigger storage is desired, you can expand the virtual hard drive. Choose Customize Settings to do so. NOTE. IT MUST BE DONE BEFORE the 1st RUN.

VMWare

  • Step 10: Choose Hard Disk and set the new disk size

VMWare

  • Step 11:

VMWare

How to Install Cloud Hosted Router on VMWare ESXi 6.5

Quick example on how to use CHR on ESXi 6.5 via it's web interface and some cli.

Icon-note.png

Note: Steps will be similar in older ESX versions or when using vSphere client.


Step by Step Instruction

  • Step 1:

Upload CHR image to your ESX/ESXi host.

VMWareESX

  • Step 2:

Connect to your ESX host via ssh and navigate to directory where you uploaded this image. Then convert image to one better suited for use with ESX.

Image location: /vmfs/volumes/(volume id)/

convert:

vmkfstools -i oldfile.vmdk newfile.vmdk -d thin

2.1. Expand image if needed.

Expand:

vmkfstools -X 512M newfile.vmdk
  • Step 3:

Create new VM and attach it this existing image.

VMWareESX

VMWareESX

VMWareESX

VMWareESX

VMWareESX

  • Step 4:

Assign CHR image to VM as boot disk.

VMWareESX

VMWareESX

VMWareESX

VMWareESX

Icon-note.png

Note: For system disk you must use IDE controller! Only additional disks can be attached to various supported SCSI controllers.


  • Step 5: Start the VM.

See also

CHR manual