0% found this document useful (0 votes)
203 views

Module-1: Introduction: # What Is Mikrotik ?

The document provides an introduction to MikroTik including what it is, RouterOS, and RouterBOARD. It then discusses setting up a virtual MikroTik router, network setup, accessing the router for the first time, and the command line interface. It also covers initial router configuration, upgrading, identity, user management, and backups.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
203 views

Module-1: Introduction: # What Is Mikrotik ?

The document provides an introduction to MikroTik including what it is, RouterOS, and RouterBOARD. It then discusses setting up a virtual MikroTik router, network setup, accessing the router for the first time, and the command line interface. It also covers initial router configuration, upgrading, identity, user management, and backups.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Module-1: Introduction

# What is MikroTik ?
▪ MikroTik is a Latvian company which was founded in 1996.
▪ Initially it is developed for routers and wireless ISP systems.
▪ MikroTik provides hardware and software for Internet connectivity in most of the
countries around the world
# What is RouterOS ?
▪ RouterOS is MikroTik's stand-alone operating system based on linux v3.3.5 kernel.
▪ MikroTik RouterOS™ is router operating system and software which turns regular PC or
MikroTik RouterBOARD™ hardware into a dedicated router.

# What is RouterBOARD ?
▪ RouterOS is MikroTik's stand-alone operating system based on linux v3.3.5 kernel.
▪ MikroTik RouterOS™ is router operating system and software which turns regular PC or
MikroTik RouterBOARD™ hardware into a dedicated router.

# Create Virtual MikroTik Router on Virtual Box


▪ Download Virtual Box and MikroTik RouterOS (x86 CD image)
▪ Open Virtual Terminal
▪ New -> <MikroTik Router> -> Default Configuration
▪ Setting -> System -> CD ROM (1st boot) -> Storage -> Empty -> Brows MikroTik ISO ->
Start
▪ Select All -> i (Install) -> Keep old Config (N) -> Continue (Y) -> Enter -> Shutdown
▪ Setting -> System -> System -> Hard Disk (1st boot)
▪ Add Loopback Adapter on your host PC
▪ My Computer -> Device Manager -> Network Adapter -> Action -> Add legacy Hardware
-> Next
▪ Network Adapter -> Select Microsoft -> Microsoft Loopback Adapter
▪ Virtual Box -> Setting -> Network -> Bridge -> Microsoft Loopback Adapter
▪ Set IP Address on Loopback Adapter and MikroTik Router
▪ Command: ip address add address = 192.168.100.1/24 interface = ether1 disable = no
▪ ip route add dst-address=192.168.0.150 gateway=192.168.0.1

Prepared by, Samiul Haque Suman, Lecturer, AIUB Institute of Continuing Education
# Network Setup

▪ PC Ethernet IP Address: 192.168.0.108/24 (DHCP From TP Link Router)


▪ PC VirtualBox Host-Only Network Address: 192.168.56.1/24 (Automatically Assign)
▪ Virtual Box -> Setting -> Network -> Enable Adapter 1 -> Bridge Adapter -> Realtek PCI
▪ Virtual Box -> Setting -> Network -> Enable Adapter 2 -> Internal Network ->
Name(intnetP)
▪ MikroTik -> IP -> DHCP Client -> DHCP -> Ether1 -> Comment (WAN) -> Apply
▪ MikroTik -> IP -> Address -> 192.168.10.1 -> Ether2 -> Comment (LAN) -> Apply

# First Time Accessing in Router


▪ Winbox and MAC-Winbox
▪ Webfig and Quick Set
▪ Default Configuration: /system default-configuration print

# RouterOS Command Line Interface (CLI)


▪ Null Modem cable
▪ SSH and Telnet
▪ New terminal in WinBox/WebFig
▪ Mobile (New)

# RouterOS CLI Principles


▪ <tab>, double <tab>, “?”, navigation
▪ Command history and its benefits
# Initial Configuration (Internet Access)

▪ WAN DHCP-client:
▪ LAN IP address and default gateway:
▪ Basic Firewall - NAT masquerade:
▪ DNS Address:

# Command Line Configuration


▪ /ip address add address=103.100.0.2/30 interface=ether2
▪ /ip dhcp-client add interface=ether1 disabled=no
▪ /ip dnsset servers=8.8.8.8 allow-remote-request=yes
▪ /ip firewall nat add chain=srcnat action=masquerade
▪ /ip route add gateway=103.100.0.1

Prepared by, Samiul Haque Suman, Lecturer, AIUB Institute of Continuing Education
# Upgrading RouterOS
▪ Package types: System -> Packages -> Check for Update
▪ Ways of upgrading
▪ RouterBOOT firmware upgrade: System -> RouterBoard -> Upgrade

# Router Identity (Host Name)


▪ System -> Identity -> Set Name
▪ /system identity>print; View Current Identity
▪ /system identity set name=New_Identity; Set new Identity
▪ snmpset -c public -v 1 192.168.0.0 1.3.6.1.2.1.1.5.0 s New_Identity; send identity
through snmp
# Manage RouterOS logins
▪ System -> Users -> Password
▪ /password
▪ Old Password
▪ New Password
▪ /user set 0 allowed-address=x.x.x.x/yy

# Manage RouterOS Service


▪ System -> Users -> Add User -> Set Permission
▪ /user add name=myname password=mypassword group=full
▪ /user remove admin
▪ /ip service print
▪ /ip service disable telnet,ftp,www,api,api-ssl
▪ /ip service set ssh port=2200
▪ /ip service print
▪ /ip service set winbox address=192.168.88.0/24

# Managing Configuration Backup

Backup Restore
File -> Backup -> Name-> Drag & Drop to Desktop Drag & Drop to MikroTik -> Restore
/export file = <file name> /import file = <file Name>

Prepared by, Samiul Haque Suman, Lecturer, AIUB Institute of Continuing Education
# Difference between a backup and an export (.rsc) file
▪ rsc a script and is human readable with plain text reader soft.
▪ Backup is a internal routeros backup and probabily there is user info and some graphs
log history that is not present in .rsc file.
▪ Editing an export file

# Resetting a RouterOS device


▪ Reset from RouterOS
▪ run the command "/system reset-configuration" from command line interface.
▪ System -> Reset Configuration menu in the graphical user interface.

# Factory Reset MikroTik Device


▪ Reset from RouterOS
▪ Disconnect the power cord from the unit
▪ Hold the reset button and do not release.
▪ Plug the power cord in and wait until the ACT light starts flashing.
▪ Now release the button to clear configuration.
▪ Wait for a few minutes for the router to clear and restore the factory settings.
▪ Connect your computer to port 3 on the Mikrotik router
▪ Open your web browser and connect to http://192.168.88.1 if the router has been reset
you will not be asked for a password and should be redirected to the quickset page.
▪ From the menu on the left select Files, then click the entry default.backup
▪ Click Restore and click ok to start the restore process
▪ The router will reboot and then be restored to our default configuration. Now follow
the Mikrotik Install Guide to complete the setup.

Prepared by, Samiul Haque Suman, Lecturer, AIUB Institute of Continuing Education
# MikroTik Router License
▪ /system license print; check license level
▪ System -> License; check from Winbox
▪ Registration on MikroTik Website -> ROUTEROS KEYS -> Make a demo key -> Software ID
(Copy and Pest from MikroTik OS) -> Copy and Pest License to Pest Key.
▪ Free Demo (Trial) License Key for RouterOS 2.9 and up
▪ demo (trial) license key is level 1 key
▪ has limits of maximum connections each for PPTP, PPPoE, Queues, NAT, EoIP, and DHCP
▪ does not have wireless interface support
▪ does not include version upgrades
▪ does not expire (no time limit)
▪ does not include support
▪ not for resale

Prepared by, Samiul Haque Suman, Lecturer, AIUB Institute of Continuing Education

You might also like