Mikrotik basic configuration

32
MikroTik Basic Configuration Prepared by: Mr. LEANG Tola Contact: +855968814005 /017728858 Email to : itolaleng.sna@gmailcom website: www.itolaleng.wordpress.com Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 1

Transcript of Mikrotik basic configuration

Page 1: Mikrotik basic configuration

MikroTik Basic Configuration

Prepared by: Mr. LEANG Tola

Contact: +855968814005 /017728858Email to : itolaleng.sna@gmailcom

website: www.itolaleng.wordpress.com

2015-2016

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 1

Page 2: Mikrotik basic configuration

ContentsI. Introduction .......................................................................................................................................... 2VIII. Requirements................................................................................................................................... 2IX. Practice Project................................................................................................................................ 2A. Infrastructure .................................................................................................................................... 2B. Lab ................................................................................................................................................... 31. Scenario: ...................................................................................................................................... 3

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 2

Page 3: Mikrotik basic configuration

I. Introduction1.1. What is TCP (Transmission Control Protocol) /IP (Internet Protocol)? How TCP/IPWork?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 operating system based on the Linux v2.6 kernel, and our goal here at MikroTik is to provide all these features with a quick and simple installation and an easy to use interface.- The History of Mikrotik: MikroTik is a Latvian company which was founded in 1995 to develop routers and wireless ISP systems. MikroTik now provides hardware and software for Internet connectivity in most of the countries around the 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, [email protected] Page 3

Page 4: Mikrotik basic configuration

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:=> Approved MikroTik training programs and certificates:

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 theirusing 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. Requirements1. 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.comhttp://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, [email protected] Page 4

Page 5: Mikrotik basic configuration

IX. Practice ProjectA. Infrastructure

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 5

Page 6: Mikrotik basic configuration

B. Lab1. Scenario:- MaxBIT’s Customer requests our Technical support setup new connection forhis 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, [email protected] Page 6

Page 7: Mikrotik basic configuration

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, [email protected] Page 7

Page 8: Mikrotik basic configuration

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, [email protected] Page 8

Page 9: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 9

Page 10: Mikrotik basic configuration

Configure DHCP Pool

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 10

Page 11: Mikrotik basic configuration

Configure DHCP Server

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 11

Page 12: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 12

Page 13: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 13

Page 14: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 14

Page 15: Mikrotik basic configuration

Configure NAT

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 15

Page 16: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 16

Page 17: Mikrotik basic configuration

Test the Internet Access

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 17

Page 18: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 18

Page 19: Mikrotik basic configuration

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, [email protected] Page 19

Page 20: Mikrotik basic configuration

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, [email protected] Page 20

Page 21: Mikrotik basic configuration

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, [email protected] Page 21

Page 22: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 22

Page 23: Mikrotik basic configuration

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, [email protected] Page 23

Page 24: Mikrotik basic configuration

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 24

Page 25: Mikrotik basic configuration

Test the wireless connection

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 25

Page 26: Mikrotik basic configuration

The End!

Prepared by Mr. LENG Tola, Tel: (+855) 09688 14005, [email protected] Page 26