Tech News

  • This is Slide 1 Title

    This is slide 1 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...

  • This is Slide 2 Title

    This is slide 2 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...

  • This is Slide 3 Title

    This is slide 3 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template Lasantha - PremiumBloggerTemplates.com...

Kamis, 05 Februari 2015

setting router mikrotik

Konfigurasi Modem/WAN = 10.10.10.11 
1.    IP  Internet    : sesuai dengan network yang diberikan ISP
 2.   IP LAN         : 192.168.50.1/27 
3.   Blocking Site : www.youtube.com , www.facebook.com
 4.   Gateway         : 10.10.10.1 
5.   Primary DNS         : 202.134.0.155 
6.   Secondary DNS    : 8.8.8.8 Konfigurasi Router 

1.    OS                          : OS Linux MikroTik
 2.   NAT                       : Yes 
3.  Limit Bandwidth 1   : 256 Kbps
 4.   Limit Bandwidth 2  : 512 Kbps 


Langkah­langkah : 1.    Sediakan 1 switch, 2 kabel straight, 1 PC Server MikroTik dan 1 PC Client 
2.   Hubungkan PC MikroTik ke switch menggunakan kabel straight, dan PC Client ke switch menggunakan kabel straight 
3.   Login ke mikrotik 
4.   Ubah nama interface 0 menjadi LAN dan interface 1 menjadi WAN 
[admin@MikroTik] > interface set 0 name=LAN 
[admin@MikroTik] > interface set 1 name=WAN


5.   Lalu cek apakah nama interface sudah berubah atau belum 
[admin@MikroTik] > interface pr 
Kemudian enter, dan akan muncul seperti dibawah ini Flags: X – disabled, D – dynamic, R – running    #         NAME          TYPE         RX‐RATE     TX‐RATE        MTU
    0  R           LAN           ether                         0                 0     1500    
    1  R          WAN           ether           0                 0                  1500 
6.   Setting IP Address pada LAN dan WAN 
[admin@MikroTik] > ip address add interface=LAN address=192.168.50.1/27 
[admin@MikroTik] > ip address add interface=WAN address=10.10.10.11
7.   Cek apakah IP Address sudah ter setting atau belum 
[admin@MikroTik] > ip address pr Kemudian enter dan akan muncul seperti ini Flags: X – disabled, I – invalid, D – dynamic #  ADDRESS                 NETWORK          BROADCAST        INTERFACE 
0  192.168.50.1/27  192.168.50.0        192.168.50.31       LAN
1   10.10.10.11/27     10.10.10.0            10.10.10.31          WAN

8.   Setting IP Gateway
 [admin@MikroTik] > ip route add gateway=10.10.10.1

9.   Setting IP Firewall
 [admin@MikroTik] > ip firewall nat add chain=srcnat out­interface=LAN action=masquerade 
[admin@MikroTik] > ip firewall nat add chain=srcnat out­interface=WAN action=masquerade

10. Setting DNS 
[admin@MikroTik] > ip dns set primary­dns= 202.134.0.155 [admin@MikroTik] > ip dns set secondary­dns= 8.8.8.8