Mikrotik RouterOS CHR/ISO Basic and Quick Setup Howto Guide

 

Many people may not be aware that you can turn commodity hardware into a Mikrotik OS and there are various options which is "CHR" (Cloud Hosted Router) which is a VM image meant for Virtualization only (seriously, I've tried to dd the image to a physical server and it just crashed as it does not contain any drivers for physical).

One note as well if you are trying to do a baremetal install you may get an error "Error Loading Operating System" or the normal "No OS drive detected" from your computer/server's BIOS.  This is a nice way of letting you know that your BIOS sucks/is not compatible with what I believe is syslinux that is installed as the boot loader.  One particular notorious problem vendor is HP's server line (eg. HP DL360e) will just not boot it.

You can download from here: https://mikrotik.com/download

Recommended CHR image: https://download.mikrotik.com/routeros/7.1beta6/chr-7.1beta6.img.zip

Recommended iso (for bare metal):  https://download.mikrotik.com/routeros/7.1beta6/mikrotik-7.1beta6.iso

Also be warned that not having the right license will mean a speed limitation of just 1mbit on CHR.  You can also get a free 60-day trial which will remove the speed limit for that time.

https://help.mikrotik.com/docs/display/ROS/RouterOS+license+keys


Mikrotik Quick Setup CHR/Router OS Guide

You should set the new password first, before putting the router online, because the default is blank and you should have a secure password.

Set a new password:

/password


List All NICs

This is essential so you don't mess up your routing especially if you have more than one NIC.

The command below will print the interface name along with the MAC address.


/interface/ethernet
print


Add IP Address

Replace ether2 with the interface # and /30 with your subnet mask.

/ip/address add address 172.16.52.20/30 interface=ether2
 

Add Gateway

/ip/route add gateway 172.16.52.19
 

Add DNS

/ip/dns  set servers=4.2.2.1

Ping

/tool/ping 192.168.1.1

Beyond this it is fairly simple as you can just go to / and type ? and for any area such as /tool just type ? and you can see a list of possible commands.  You can even break it down and keep typing ? to see what parameters the tool/command takes.


Tags:

mikrotik, routeros, chr, iso, howto, commodity, hardware, os, various, quot, hosted, router, vm, virtualization, ve, dd, server, contain, drivers, baremetal, install, loading, operating, detected, bios, compatible, syslinux, installed, loader, notorious, vendor, hp, eg, dl, download, https, recommended, beta, img, zip, limitation, mbit, docs, display, ros, password, online, default, nics, essential, routing, nic, interface, ethernet, ip, ether, subnet, gateway, dns, servers, ping, commands, typing, parameters,

Latest Articles

  • Unable to mount location Failed to retrieve share list from server: Connection timed out - Samba/Linux Filesharing Not working Ubuntu Mint Linux Solution
  • How To Resize, Reduce a Video to a Specific Size and Quality Ubuntu Linux using ffmpeg
  • vi how to delete all lines in the file
  • Linux Mint / Ubuntu 20 Intel I219 NIC disconnects
  • Linux can't boot/grub boot loader screen with no options solution
  • EFI PXE grub2 Howto guide for Linux EFI PXE Booting on Debian, Mint, Ubuntu, RHEL
  • Aruba/HP/Dell IAP Wireless Controller Common Default Passwords
  • Debian, Mint Ubuntu how to remove package and associated config files
  • Linux Grub not booting the intended kernel solution in Debian, Mint, Ubuntu how to specify which kernel to boot by default
  • QEMU KVM Keyboard Problems Not Working Right Repeating Characters, Ctrl+C Copy and Paste not working right when using PS2 mouse in guests Solution
  • Linux how to compile binary with static sharedobjects embedded instead of dynamic to use on multi-distributions and avoid glibc compatiblity issues
  • /bin/sh: msgfmt: not found error solution on Linux Compilation Ubuntu Debian Mint Centos
  • Mikrotik RouterOS CHR/ISO Basic and Quick Setup Howto Guide
  • qemu 4 compilation options
  • CentOS 7 8 PXEBoot Netinstall Not Working Solution "Pane is dead "new value non-exisetnt xfs filesystem is not valid as a default fs type"
  • CentOS 6 EOL yum repo won't work Error: Cannot find a valid baseurl for repo: base Solution
  • CentOS 7 8 How To Disable SELinux
  • Wordpress How To Add Featured Image To Post in Hueman Theme
  • kdenlive full reset how to erase all config files
  • CentOS 7 8 yum error Trying other mirror. To address this issue please refer to the below wiki article