Skip to content

Instantly share code, notes, and snippets.

@afriza
Last active May 7, 2025 01:16
Show Gist options
  • Save afriza/18ce6030f4a88beb9cb80ceb234a28e7 to your computer and use it in GitHub Desktop.
Save afriza/18ce6030f4a88beb9cb80ceb234a28e7 to your computer and use it in GitHub Desktop.
install Mikrotik CHR on ProxMox Virtual Environment 8.3.0
  • create bridges for use by mikrotik CHR
  • create VM with VM ID 100 without any media (also delete existing scsi0 disk in the wizard)
ver=7.16.2
wget https://download.mikrotik.com/routeros/$ver/chr-$ver.img.zip
apt update
apt install unzip
unzip chr-$ver.img.zip
qemu-img resize -f raw chr-$ver.img 256M
# number 100 below is the VM ID
qm disk import 100 chr-$ver.img local-lvm
  • add unused disk to VM (under Hardware menu)
  • fix Boot Order (under Options menu)
  • convert into template
  • clone template
  • attach bridge to VM
  • for high traffic router (e.g. 10G port), set multiqueue to the number of VM's vCPU. (Hardware > Edit Network Device > Advanced > Multiqueue)
  • start VM
  • config auto-start

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment