Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 1
MikroTik Basic Configuration
Prepared by: Mr. LEANG Tola
Contact: +855968814005 /017728858
Email to : itolaleng.sna@gmailcom
website: www.itolaleng.wordpress.com
2015-2016
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 2
Contents
I. Introduction ..........................................................................................................................................2
VIII. Requirements................................................................................................................................... 2
IX. Practice Project................................................................................................................................ 2
A. Infrastructure ....................................................................................................................................2
B. Lab ...................................................................................................................................................3
1. Scenario: ......................................................................................................................................3
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 3
I. Introduction
1.1. What is TCP (Transmission Control Protocol) /IP (Internet Protocol)? How TCP/IP
Work?
Answer: TCP/IP for IP version 4 (IPv4) is a networking protocol suite that we uses to
communicate over the internet with other computers. And it work as defines the details of
how data is sent and received through network for example: hubs, switches, routers and
other network communications devices.
1.2 What is router OS/RouterBoard? History (briefly)?
Answer:
- MikroTik RouterOS: is the operating system of MikroTik RouterBOARD hardware.
It can also be installed on a PC and will turn it into a router with all the necessary features
- routing, firewall, bandwidth management, wireless access point, backhaul link, hotspot
gateway, VPN server and more.
- RouterOS: is a stand-alone operatingsystembasedonthe Linux v2.6 kernel,andourgoal here
at MikroTikis to provide all these featureswithaquickandsimple installationandaneasyto
use interface.
- The History of Mikrotik: MikroTik isa Latvian companywhichwasfoundedin1995 to develop
routersand wirelessISPsystems.MikroTiknow provideshardware andsoftware forInternet
connectivityinmostof the countriesaroundthe world.
1.3 Compare MiktoTik & other venders?
1.4 MikroTik Function and Features?
Answer:
=> Mikrotik Major features:
 Powerful QoS control
 P2P traffic filtering
 High availability with VRRP
 Bonding of Interfaces
 Improved interface
 Smaller and Less resource-hungry
 Tons of other new features
 Advanced Quality of Service
 Stateful firewall, tunnels
 STP bridging with filtering
 High speed 802.11a/b/g wireless with WEP/WPA
 WDS and Virtual AP
 HotSpot for Plug-and-Play access
 RIP, OSPF, BGP, MPLS routing
 remote WinBox GUI and Web admin
 telnet/mac-telnet/ssh/console admin
 real-time configuration and monitoring
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 4
 Nv2 wireless TDMA support
 Nstreme wireless protocol
 3G/LTE support
 802.11a/b/g/n
 WPA2 full support
 OpenFlow support
 Many more listed here
1.5 MikroTik Certification?
Answer:
=> ApprovedMikroTiktrainingprogramsandcertificates:
 MTCNA - MikroTik Certified Network Associate (view outline)
 MTCRE - MikroTik Certified Routing Engineer (view outline)
 MTCWE - MikroTik Certified Wireless Engineer (view outline)
 MTCTCE - MikroTik Certified Traffic Control Engineer (view outline)
 MTCUME - MikroTik Certified User Management Engineer (view outline)
 MTCINE - MikroTik Certified Inter-networking Engineer (view outline)
1.6 What kind of MikroTik Products that we should recommend to customers for their
using and required?
Answer: In this required I would like to recommend to customers to use:
- Mikrotik RB951-2N Wireless Router 802.11b/g/n
VIII. Requirements
1. What are the materials for practice lab with MikroTik?
Answer: the materials for this practice lab there are:
-Mikrotik RB951-2N Wireless Router
-Internet connection
-Client PC for test
- As prefer if more material or devices have
2. Websites?
Answer:
http://www.mikrotik.com
http://www.mikrotik.com/training/
http://www.amazon.com/Mikrotik-RB951-2N-Wireless-Router-802-
11b/dp/B008W7WEV6
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 5
IX. Practice Project
A. Infrastructure
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 6
B. Lab
1. Scenario:
- MaxBIT’s Customer requests our Technical support setup new connection for
his new office that requirement below:
Internet access
 Basic configure the first access to router via winbox
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 7
Configure DHCP Server and Client with the full access/unlimited for management IP:
192.168.1.10-192.168.1.50
 Client request DHCP IP address
 Configure and choose the interface which client could request
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 8
 Assign LAN interface and add new address 192.168.1.1 netmask

 255.255.255.0 eth2
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 9
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 10
 Configure DHCP Pool
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 11
 Configure DHCP Server
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 12
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 13
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 14
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 15
 Configure NAT
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 16
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 17
 Test the Internet Access
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 18
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 19
 Limit Internet Bandwidth per user (Normal User: 512kbps/each), I just calculate the
queue on the internet site.
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 20
 After define the queue calculate, we need to past it into the router terminal to all the script
command.
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 21
 Setup Wi-Fi On MikroTik with SSID= ABC, and Password: abc@2015
 Add wireless LAN and LAN bridge interface
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 22
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 23
 Forward port for his new cameras:
+ DVR 1= IP: 192.168.1.5/24 port software: 1122 and http: 8080
+ DVR 2 = IP: 192.168.1.6 /24 port software: 3344 and http: 9090
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 24
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 25
 Test the wireless connection
Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 26
The End!

Mikrotik basic configuration

  • 1.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 1 MikroTik Basic Configuration Prepared by: Mr. LEANG Tola Contact: +855968814005 /017728858 Email to : itolaleng.sna@gmailcom website: www.itolaleng.wordpress.com 2015-2016
  • 2.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 2 Contents I. Introduction ..........................................................................................................................................2 VIII. Requirements................................................................................................................................... 2 IX. Practice Project................................................................................................................................ 2 A. Infrastructure ....................................................................................................................................2 B. Lab ...................................................................................................................................................3 1. Scenario: ......................................................................................................................................3
  • 3.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 3 I. Introduction 1.1. What is TCP (Transmission Control Protocol) /IP (Internet Protocol)? How TCP/IP Work? Answer: TCP/IP for IP version 4 (IPv4) is a networking protocol suite that we uses to communicate over the internet with other computers. And it work as defines the details of how data is sent and received through network for example: hubs, switches, routers and other network communications devices. 1.2 What is router OS/RouterBoard? History (briefly)? Answer: - MikroTik RouterOS: is the operating system of MikroTik RouterBOARD hardware. It can also be installed on a PC and will turn it into a router with all the necessary features - routing, firewall, bandwidth management, wireless access point, backhaul link, hotspot gateway, VPN server and more. - RouterOS: is a stand-alone operatingsystembasedonthe Linux v2.6 kernel,andourgoal here at MikroTikis to provide all these featureswithaquickandsimple installationandaneasyto use interface. - The History of Mikrotik: MikroTik isa Latvian companywhichwasfoundedin1995 to develop routersand wirelessISPsystems.MikroTiknow provideshardware andsoftware forInternet connectivityinmostof the countriesaroundthe world. 1.3 Compare MiktoTik & other venders? 1.4 MikroTik Function and Features? Answer: => Mikrotik Major features:  Powerful QoS control  P2P traffic filtering  High availability with VRRP  Bonding of Interfaces  Improved interface  Smaller and Less resource-hungry  Tons of other new features  Advanced Quality of Service  Stateful firewall, tunnels  STP bridging with filtering  High speed 802.11a/b/g wireless with WEP/WPA  WDS and Virtual AP  HotSpot for Plug-and-Play access  RIP, OSPF, BGP, MPLS routing  remote WinBox GUI and Web admin  telnet/mac-telnet/ssh/console admin  real-time configuration and monitoring
  • 4.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 4  Nv2 wireless TDMA support  Nstreme wireless protocol  3G/LTE support  802.11a/b/g/n  WPA2 full support  OpenFlow support  Many more listed here 1.5 MikroTik Certification? Answer: => ApprovedMikroTiktrainingprogramsandcertificates:  MTCNA - MikroTik Certified Network Associate (view outline)  MTCRE - MikroTik Certified Routing Engineer (view outline)  MTCWE - MikroTik Certified Wireless Engineer (view outline)  MTCTCE - MikroTik Certified Traffic Control Engineer (view outline)  MTCUME - MikroTik Certified User Management Engineer (view outline)  MTCINE - MikroTik Certified Inter-networking Engineer (view outline) 1.6 What kind of MikroTik Products that we should recommend to customers for their using and required? Answer: In this required I would like to recommend to customers to use: - Mikrotik RB951-2N Wireless Router 802.11b/g/n VIII. Requirements 1. What are the materials for practice lab with MikroTik? Answer: the materials for this practice lab there are: -Mikrotik RB951-2N Wireless Router -Internet connection -Client PC for test - As prefer if more material or devices have 2. Websites? Answer: http://www.mikrotik.com http://www.mikrotik.com/training/ http://www.amazon.com/Mikrotik-RB951-2N-Wireless-Router-802- 11b/dp/B008W7WEV6
  • 5.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 5 IX. Practice Project A. Infrastructure
  • 6.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 6 B. Lab 1. Scenario: - MaxBIT’s Customer requests our Technical support setup new connection for his new office that requirement below: Internet access  Basic configure the first access to router via winbox
  • 7.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 7 Configure DHCP Server and Client with the full access/unlimited for management IP: 192.168.1.10-192.168.1.50  Client request DHCP IP address  Configure and choose the interface which client could request
  • 8.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 8  Assign LAN interface and add new address 192.168.1.1 netmask   255.255.255.0 eth2
  • 9.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 9
  • 10.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 10  Configure DHCP Pool
  • 11.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 11  Configure DHCP Server
  • 12.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 12
  • 13.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 13
  • 14.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 14
  • 15.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 15  Configure NAT
  • 16.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 16
  • 17.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 17  Test the Internet Access
  • 18.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 18
  • 19.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 19  Limit Internet Bandwidth per user (Normal User: 512kbps/each), I just calculate the queue on the internet site.
  • 20.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 20  After define the queue calculate, we need to past it into the router terminal to all the script command.
  • 21.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 21  Setup Wi-Fi On MikroTik with SSID= ABC, and Password: abc@2015  Add wireless LAN and LAN bridge interface
  • 22.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 22
  • 23.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 23  Forward port for his new cameras: + DVR 1= IP: 192.168.1.5/24 port software: 1122 and http: 8080 + DVR 2 = IP: 192.168.1.6 /24 port software: 3344 and http: 9090
  • 24.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 24
  • 25.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 25  Test the wireless connection
  • 26.
    Prepared by Mr.LENG Tola, Tel: (+855) 09688 14005, tolaleng.sna@gmail.com Page 26 The End!