PinQ | st. Mudo

Lembar Coretan Memori ku

Entries for the ‘MikroTik’ Category

Mikrotik Two gateways failover

This example explains how to use multiple gateways with one taking over when first fails. It begins with adding the gateways. Set bigger distance value for the secondary one, and check-gateway for the first one:
/ip route add gateway=192.168.1.1 check-gateway=ping
/ip route add gateway=192.168.2.1 distance=2
That’s all, there are no more steps!
The first gateway will begin as it’s [...]

How to import Mikrotik router configuration

The Import Command
Command name: /import

Description
The root level command /import [file_name] restores the exported information from the specified file. This is used to restore configuration or part of it after a /system reset event or anything that causes configuration data loss.

How to export Mikrotik router configuration

The Export Command
Command name: /export

Description
The export command prints a script that can be used to restore configuration. The command can be invoked at any menu level, and it acts for that menu level and all menu levels below it. If the argument from is used, then it is possible to export only specified items. [...]

Backup & Restore MikroTik Configuration

System Backup
Submenu level: /system backup

Description
The save command is used to store the entire router configuration in a backup file. The file is shown in the /file submenu. It can be downloaded via ftp to keep it as a backup for your configuration.

Resetting Your Mikrotik RouterOS

Configuration Reset
Command name: /system reset

Description
The command clears all configuration of the router and sets it to the default including the login name and password (’admin’ and no password), IP addresses and other configuration is erased, interfaces will become disabled. After the reset command router will reboot.

Command Description
reset – erases router’s configuration [...]

Transparent Traffic Shaper

Introduction
This example shows how to configure a transparent traffic shaper. The transparent traffic shaper is essentially a bridge that is able to differentiate and prioritize traffic that passes through it.
Consider the following network layout:

We will configure one queue limiting the total throughput to the client and three sub-queues that limit HTTP, P2P and all other [...]