Mikrotik RouterOS on EDIS KVM
Learn how to manually install MikroTik RouterOS on EDIS Global KVM VPS. Follow step-by-step instructions, including adjusting hardware settings, to ensure a smooth and successful installation process.
NEW: Script-based MikroTik CHR installation
__ __ ___ _ ______ ___ _____ ___ _ __ | \/ |_ _| |/ / _ \ / _ \_ _|_ _| |/ | |\/| || || ’ /| |_) | | | || | | || ’ / | | | || || . \| _ <| |_| || | | || . \ |_| |_|___|_|\_\_| \_\\___/ |_| |___|_|\_\
… or continue below for the classic, manual installation:
How to install Mikrotik on your VPS
To install Mikrotik on an EDIS Global VPS, you’ll need to adjust a few hardware settings first, after which the installation will run smoothly.
Log in to your
Locate your VPS in the Services tab
Head to KVM Settings (button)
Change Disk driver to IDE
Change Network Driver to E100
Cold-Boot your VPS
Implications on Mikrotik Upgrades from v6 to v7
We learned from clients that the upgrade procedure from Mikrotik v6 to v7 seems to be broken. Clients were left with instances not being able to boot after the version upgrade from Mikrotik 6.x to Mikrotik 7.x and error messages like
So far, the only known workaround is a fresh Mikrotik v7.x intallation.
Mikrotik CHR (Cloud Hosted Router)
If you want to give Mikrotik CHR a try, you can download images from the official Mikrotik download page. To make life easy for you, we converted a couple of cloud images downloaded from the Mikrotik website, which can be used with our Cloud-Init installer 😎
Log in to your
Locate your VPS in the Services tab
Head to KVM Settings (button)
Change Disk driver to IDE
Change Network Driver to E100
Click on Autoinstall OS (button)
Proceed to Custom Cloud-Init Images (tab)
Upload the .qcow2 file and proceed with the installation (pick any password)
you will see: Server Status: AUTOINSTALL IN PROGRESS it will change to: Server Status: RUNNING, AUTOINSTALL IN PROGRESS
The installation will take a couple of minutes!
Once the installer is done (Server Status: RUNNING)
start a VNC session, start noVNC, click into the noVNC window (set focus) and finish the installation.
Mikrotik username: admin
Mikrotik password: no password, leave field empty, just press Enter
Configure Static IPv4 in MikroTik
Log into MikroTik Router:
-
Use a VNC session to connect to your MikroTik router.
-
Log in with your credentials (by default, the username is
admin
, and there is no password unless you changed it).
Set Static IPv4 Address:
After logging into MikroTik, use the Terminal window and enter the following commands to configure the static IP:
Assign Static IP Address:
Use this command to set a static IP on the interface you want (e.g., ether1
):
-
Replace
192.168.1.100/24
with your VPS static IP and subnet mask. -
Replace
ether1
with the correct interface if it’s different.
Set Gateway (Default Route): To configure a default gateway, use the following command:
- Replace
192.168.1.1
with your VPS default gateway IP address
Set DNS Servers: To configure DNS servers (for example, using Google DNS), use:
- You can use any DNS servers, such as
1.1.1.1
and1.0.0.1
for Cloudflare’s public DNS resolvers.
Verify Your Configuration:
Please reboot the server with the following command to apply the changes and set up the network:
- After the server has rebooted, you can connect to the server via Winbox, the web interface, or SSH using the IP address you configured.
Configure IPv6 address in MikroTik
To configure the imaginary IPv6 address 2a03:f80:22:4198::1 on a MikroTik CHR device, follow these steps:Always refer to your VPS dashboard for the correct I/64 Pv6 address assignment-.
Assign the IPv6 Address
-
Open your MikroTik terminal or connect via Winbox.
-
Add the IPv6 address to the desired interface (e.g., ether1).
• Replace ether1 with the actual interface you are using. Replace 2a03:f80:22:4198::
with your own VPS IPv6 range.
Remember that the subnet mask is configured as /48 while the size of your allocation remains /64.
Configure the IPv6 Default Route
- Add the default route for IPv6 to allow external communication.
• Note: This example uses 2a03:f80:22::1 as the gateway. Your gateway consists of the first three segments of your IP address and ::1
Verify the Configuration
- Check the assigned IPv6 address:
- Check the default route:
This configuration will allow your MikroTik CHR to use the imaginary IPv6 address 2a03:f80:22:4198::1 and establish external connectivity via the default gateway. Remember that the subnet mask is configured as /48, not /64.
Was this page helpful?