> ## Documentation Index
> Fetch the complete documentation index at: https://docs.edisglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manual MikroTik RouterOS Installation on EDIS Global VPS

> Manually install MikroTik RouterOS on an EDIS Global VPS. Step-by-step instructions covering hardware adjustments, ISO mounting, and initial setup.

export const CtaButton = ({label, link, openInNewTab}) => <button className="custom-cta-button">
    <a href={link} target={openInNewTab ? "_blank" : "_self"}>
      {label}
    </a>
  </button>;

NEW: Script-based MikroTik CHR installation&#x20;

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/09LZQI22gA6fwQ5vkQmgu_mikrotik-chr-installer-in-novnc.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=cbd049b839ae6712039109a2dd178711" alt="Mikrotik RouterOS on EDIS KVM" width="2710" height="1674" data-path="assets/09LZQI22gA6fwQ5vkQmgu_mikrotik-chr-installer-in-novnc.png" />

***

<CtaButton label="Mikrotik CHR installation script" link="../advanced-setup-guides/script-based-mikrotik-router-os-installation-guide-winbox" />

... 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.

<Steps>
  <Step title="Log in to your">
    [VPS Management Portal](https://manage.edisglobal.com/clientarea.php)
  </Step>

  <Step title="Locate your VPS in the Services tab" />

  <Step title="Head to KVM Settings (button)" />

  <Step title="Change Disk driver to IDE" />

  <Step title="Change Network Driver to E100" />

  <Step title="Cold-Boot your VPS">
    <img src="https://mintcdn.com/edisglobal-b1e34a56/H_vKg0YtfMZmxCkX/assets/jDLpjJyd8hP0rApHKW4JK_install-mikrotik-on-edis-kvm-a4a31602ce.png?fit=max&auto=format&n=H_vKg0YtfMZmxCkX&q=85&s=2c9475e1c4dc7077465ac2446ce43d3b" alt="Install MikroTik RouterOS" width="1192" height="990" data-path="assets/jDLpjJyd8hP0rApHKW4JK_install-mikrotik-on-edis-kvm-a4a31602ce.png" />
  </Step>
</Steps>

## Mikrotik CHR (cloud hosted router)

If you want to give Mikrotik CHR a try, you can download images from the official <a href="https://mikrotik.com/download" target="_blank">Mikrotik download page</a>. To make life easy for you, we converted a couple of <a href="https://files.edisglobal.com/index.php/s/Jph4RkS7Cgw0ryY" target="_blank">cloud images</a> downloaded from the Mikrotik website, which can be used with our Cloud-Init installer 😎

<Steps>
  <Step title="Log in to your">
    [VPS Management Portal](https://manage.edisglobal.com/clientarea.php)
  </Step>

  <Step title="Locate your VPS in the Services tab" />

  <Step title="Head to KVM Settings (button)" />

  <Step title="Change Disk driver to IDE" />

  <Step title="Change Network Driver to E100" />

  <Step title="Click on Reinstall OS (button)" />

  <Step title="Proceed to Custom Cloud-Init Images (tab)" />

  <Step title="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!**
  </Step>

  <Step title="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
  </Step>
</Steps>

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/09LZQI22gA6fwQ5vkQmgu_mikrotik-chr-installer-in-novnc.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=cbd049b839ae6712039109a2dd178711" alt="Mikrotik RouterOS on EDIS KVM" width="2710" height="1674" data-path="assets/09LZQI22gA6fwQ5vkQmgu_mikrotik-chr-installer-in-novnc.png" />

## 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`):

```bash theme={"system"}
ip/address/add address=192.168.1.100/24 interface=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:

```bash theme={"system"}
ip/route/add gateway=192.168.1.1
```

* 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:

```bash theme={"system"}
ip/dns/set servers=8.8.8.8,8.8.4.4
```

* You can use any DNS servers, such as `1.1.1.1` and `1.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:

```bash theme={"system"}
system/reboot
```

* 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 IPv6 /64 address assignment.

### **Assign the IPv6 address**

1. **Open your MikroTik terminal** or connect via **Winbox**.

2. **Add the IPv6 address** to the desired interface (e.g., ether1).

```bash theme={"system"}
/ipv6 address add address=2a03:f80:22:4198::1/48 interface=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

1. **Add the default route** for IPv6 to allow external communication.

```bash theme={"system"}
/ipv6 route add dst-address=::/0 gateway=2a03:f80:22::1
```

• **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**

1. **Check the assigned IPv6 address**:

```bash theme={"system"}
/ipv6 address print
```

1. **Check the default route**:

```bash theme={"system"}
/ipv6 route print
```

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.
