Kamis, 29 September 2016

Instalasi dan konfigurasi mikrotik dengan tiga interface





LANGKAH INSTALASI MIKROTIK
1. Siapkan ISO mikrotiknya. mulailah instalasi. dan pertamanya akan muncul tampilan berikut.

2. tekan a

3. tekan i kemudian n
 
4. tekan y
 
5. tunggu hingga muncul tampilan untuk login. pada username isikan admin dan passwordnya kosongkan.
 

KONFIGURASI MIKROTIK

1. KONFIGURASI  INTERFACE
    >interface print
   

    > interface set ether1 name=wan
    > interface set ether2 name=lan 
    > interface set ether3 name=wifi
    > interface print
   

2. KONFIGURASI IP ADDRESS


                ip address (gateway ip : 192.168.136.2)
                internet : 192.168.136.3/24
                lan : 192.168.1.2/24
                wifi : 192.168.2.2/24


       > ip address add address=192.168.136.3/24 interface=wan
       > ip address add address=192.168.10.2/24 interface=lan  
       > ip address add address=192.168.20.2/24 interface=wifi
       > ip address print
     

3. KONFIGURASI GATEWAY

        > ip route add gateway=192.168.136.2
        > ip route print
   

4. KONFIGURASI DNS SERVER

       > ip dns set servers=8.8.8.8
       > ip dns set allow-remote-request=yes
       > ip dns print
     


5. KONFIGURASI NAT (network address translation)
          > ip firewall nat add action=masquerade out-interface=wan chain=scrnat
          > ip firewall nat print
   

6. KONFIGURASI TRANSPARENT PROXY

         > ip proxy set enable=yes
         > ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=3128
         > ip firewall nat print

           > ip proxy monitor interval=1
    
     TEKAN Q 

7. KONFIGURASI DHCP SERVER
         > ip pool add name=dhcp-pool ranges=192.168.20.1-192.168.20.30
         > ip pool print
   
               > ip dhcp-server network add address=192.168.20.0/24 gateway=192.168.20.1
               > ip dhcp-server network print
               > ip dhcp-server add interface=Wifi address-pool=dhcp-pool
               > ip dhcp-server enable 0
               > ip dhcp-server print

       

8. KONFIGURASI HOTSPOT SERVER

       > ip hotspot >
       > ip hotspot setup
                              hotspot interface : wifi
                              local address of network : 192.168.2.1/24
                              masquarade network : yes
                              address pool of network : 192.168.2.11-192.168.2.20
                              select certificate : none
                              ip address of smtp server : 0.0.0.0
                              dns servers : 8.8.8.8
                              dns name : atd.com
       > ip hotspot > user add name=admin password=1
       > ip hotspot > user print
   

Ok, selesai konfigurasinya, saatnya pengujian…
Disini saya menggunakan porteus untuk pengujiannya

 

Buka chrome dan ketikkan 192.168.20.2 kemudian enter 
Muncul tampilan berikut ini, masukkan user : admin dan passwordnya=1















 
 
 



























Tidak ada komentar:

Posting Komentar