how to build your own mikrotik wifi

Upload: hafidz-jazuli-luthfi

Post on 13-Oct-2015

146 views

Category:

Documents


1 download

DESCRIPTION

This article is my work for english lesson when i was a first semester student. This article describe how to build your own wifi management using MikroTik.

TRANSCRIPT

  • HOW TO

    BUILD

    YOUR OWN MIKROTIK WIFI

  • PLEASE READ THIS SECTION CAREFULLY BEFORE START

    COUTION: Thing You Need To Know

    I. Please do it with your own risk.

    II. Im a nubs in the computer skills, so if you need for Technical Support please see links I was

    provided in the last page (sources and citation).

    III. Im not professional in Networking System, so I just provided very simple explanation in this

    tutorial because my knowledge and experience limitation.

    IV. Please remember that this tutorial is not based on my idea. See source and citation page for

    further information!

    V. If you have problem when try this tutorial, you can contact me. I will so glad if we can share and

    solve problems together.

    UNDERSTAND: My Assumptions about You

    I. You have basic knowledge and experienced working with popular operating system, such as:

    Windows and Linux Ubuntu.

    II. You have basic knowledge about Networking System, such as: IP, DNS and MAC.

    III. You have basic knowledge about related hardware, especially Network Hardware, such as: ADSL

    Router, Router/Switch/Hub and Access Point

    Say thank to Mr Nathan Gusti Ryan

    :D

  • PREPARE!

    Sketch the topology

    That's why you must have basic knowledge about Network System. There's many variation of network

    building depend on the access scale and networking size. Large network may need more node to

    connecting each other and you may pay attention with the extra requirements, such as hardware,

    access point and privacy.

    Hunting for Hardware

    There is many hardware type in the market depend on bandwidth, network support (ADSL, Satellite,

    3G, LAN, WLAN etc.) and network scale. So you must have perfect plan for your network criteria. Have

    suitable hardware may increase efficiencies and reduce the cost.

    Because my limitation and I'm only have basic knowledge about Network System, so this tutorial have

    limitation on implementation. This tutorial may only suitable for small networking scale, such as private

    network, home network and small public network. See pictures below:

    Picture 1.1

    (http://thinkxfree.wordpress.com)

  • Picture 1.2

    (http://img.docstoccdn.com/thumb/orig/85948446.png)

    Both of pictures above have same mechanism, that's must be easy for you to understand. First thing

    you must know, in the mikrotik mechanism there's must have RouterOS which control your network

    I/O. The only different between them is where RouterOS planted, in the picture 1.1 topology use

    standard PC, but in the picture 1.2 topology use RB 750*.

    *RouterBoard (RB) is hardware product from mikrotik. If you want easier method, I recommended you

    to use RouterBoard.

    So, I recommended you must prepared:

    UTP Cable

    Routerboard or PC with dual PCI LAN Card (Realtek / DLink / Intel etc.)

    ADSL Modem

    Router Switch

    Access Point (optional)

  • NETWORK CONFIGURATION

    &

    ROUTEROS SETUP

  • FIRST STEP

    Connect basic peripheral (Modem RouterBoard / PC Router Access Point)

    If you use RouterBoard, you can skip this step

    If you use PC Router:

    1. Build your PC specification

    RouterOS can run low spec PC specification:

    Minimal processor : Pentium II 400 MHz or Pentium III

    Minimal storage : 1 GB of Hard disk and 64 /128 MB of RAM

    Dual port LAN Card : for ADSL Modem and Access Point

    2. Download RouterOS from http://www.mikrotik.com/download

    In RouterOS category choose PC / x86

    3. Burn downloaded RouterOS (.iso file) to CD

    SECOND STEP

    Before use RouterOS, you must configure ADSL Modem as Bridge

    THIRD STEP

    If you use RouterBoard, see ip configuration in the next page *or you can skip step.

  • If you use PC as PC Router, Install RouterOS first!

    There are many option as you see in the picture above, but dont confuse, stay calm. RouterOS is a

    standalone OS that will be your default OS, its lightweight that only need 64 MB of RAM to run, thats

    why you can use old PC. Follow the instruction, or you can press a then press spacebar to install

    instantly.

    After reboot. You will see login prompt to get RouterOS access, if you dont create the password before

    (in user-manager option), default password is empty.

    Now you must pay more attention in this step. You have basic knowledge about networking system, so

    you understand that each peripheral must have address to talk each other. Interesting point here, you

    can create any IP address you want for each peripheral depend on your topology plan.

    See picture 1.1

    You know that common IP for Speedy ADSL Modem (TP-LINK) is 192.168.1.1, so will be like this:

    Ether1 (mikrotik to modem) : 192.168.1.10

    Ether2 (mikrotik to LAN) : 192.168.88.251

    You may not confuse with IP configuration because PPPoe Dial Up can automatically search the Bridge

    Modem, if DHCP Server enable. But create your own IP configuration make your work easily. So do this:

    Type: /ip address print

    If theres empty, then you must add the IP manually

    Type:

    ip address add interface=ether1 address=192.168.1.10 netmask=255.255.255.0 network=192.168.1.1

    broadcast=192.168.1.255

  • * You can add ethernet2 IP with same method but easier to do it through WinBox in the next step

    FOURTH STEP

    Your Mikrotik ready to use, but your work not yet done, you need more configuration to make your

    Mikrotik Network work perfect.

    First thing, you must download WinBox from http://www.mikrotik.com/download or you can use

    Telnet utility in windows. For me, easier to use WinBox because its have small size but powerfull to

    control and easy configure your Mikrotik.

    In the WinBox, you will find two interface. To make your work easier, change each interface name

    whatever you want. In the picture below, I change two interface name with LAN and SPEEDY

    Then setting each interface IP address

    LAN: 192.168.88.251/24 and SPEEDY: 192.168.10/24

  • Then setting IP DNS dor SPEEDY interface:

    Go to or click IP option

    Then create PPPoE Client:

  • When prompt new dialog, in the General Tab, you can change name and type, but no problem if you

    want to use the default setting, then choose which interface to be PPPoe Client

    In Dial Out Tab type your Speedy Account

    Or you can input your Speed username and password trough WebBox. The WebBox provide

    configuration option like WinBox, but WebBox easier to use, recommended if you beginner level in the

    Network System.

  • If username and password are correct, automatically microtic DialUp to ADSL Modem to request

    authentication then you will see new IP address (125.164.75.150) in the Address List dialog box.

    You need ensure that clients computer can get Internet Access, so you must create NAT Rule which

    has Masquarade Action

    Go to Ip -> Firewall -> NAT

    On General Tab -> Chain = srcnat -> OutInterface = pppoe out1

    On Action Tab -> Masquarade

  • If you look for easier way, you can create NAT trough WebBox

    Public Interface = pppoe out1 and check NAT

    Now your mikrotik provide Internet Access to your ADSL Modem for client computer as pppoe client,

    but the client cannot connect to the internet directly because theres no gateway to your ISP. This is

    the important step: You must provide Route the pppoe connection.

    Click on the IP Network of PPPoe-out1 interface (125.164.72.1), this is a IP Gateway of your ISP (Telkom

    Speedy). Then add new Route which configuration setting: Destination: 0.0.0.0/0 and gateway:

    125.164.72.1

    Yes its done !

    Your Mikrotik ready to use !

  • You can test the internet connection by PING.

    202.134.1.10 is Surabaya Speedy DNS. If your connection configuration correct, your mikrotik

    should success ping to that DNS Address.

    If PC Client can not get internet connection, the common cause this problem is in the IP configuration,

    maybe DHCP connection not enable in PC Client. So do it manually on PC client

    ITS TIME FOR INTERNET PARTY !

  • SOURCE AND CITATION

    HTTP://THINKXFREE.WORDPRESS.COM/2010/04/16/STEP-BY-STEP-INSTALLASI-ROUTER-MIKROTIK-DGN-ADSL-SPEEDY/ (PRIMARY SOURCE)

    HTTP://APPSTRACK.BLOGSPOT.COM/2012/04/INSTALL-MIKROTIK-ROUTEROS-PADA-PC.HTML#.UOZSQSFLMAK (EASY GUIDE ROUTEROS INSTALATION)

    HTTP://WWW.MIKROTIK.COM/DOWNLOAD (DWONLOAD ROUTEROS)

    HTTP://WWW.MIKROTIK-SOFTWARE.DE/ (MIKROTIK DOWNLOAD CENTER)

    HTTP://WIKI.MIKROTIK.COM/WIKI/SUPPORTED_HARDWARE (LIST SUPPORTED HARDWARE)

    HTTP://WWW.MIKROTIK-ROUTEROS.NET/INSTALL.ASPX (MAKE ROUTEROS CD)

    HTTP://WWW.MIKROTIK.COM/SOFTWARE.HTML (MANUAL AND TECHNICAL SUPPORT)

    HTTP://WWW.ADLINKTECH.COM/PD/WEB/PD_DETAIL.PHP?PID=201&SEQ=0&ID=1&SID=3 (6U COMPACTPCI INTEL PENTIUM III PROCESSOR-LOW POWER BASED SBC)

    HTTP://WWW.MIKROTIKINDONESIA.COM/PRODUCT-LIST/16/ROUTERBOARD (LIST ROUTERBOARD AND SPECIFICATION)

    HTTP://PITUNGKAS.BLOGSPOT.COM/2012/10/USING-USB-MODEM-INTERNET-CONNECTION-AND.HTML (TIPS AND TRICKS)