Saturday, April 13, 2013

Browse » home» » » » » » » » » Setting Mikrotik Sederhana Untuk Warnet ISP Telkom Speedy

Setting Mikrotik Sederhana Untuk Warnet ISP Telkom Speedy




Sobat  kali ini Saya akan berbagi sedikit tentang cara setting Mikrotik Router OS yang sangat sederhana untuk Warnet yang menggunakan ISP dari Telkom Speedy. Postingan ini hanyalah gambaran buat sobat untuk dipelajari dan dicoba sampai Sobat dapat memahaminya selanjutnya Sobat bisa mengembangkannya sendiri ........


Topologi Jaringan : 
Modem DSL --> ether2 Mikrotik --> Router Mikrotik --> Ether1 Mikrotik --> Switch --> PC Terminal

Langkah 1
Install/Siapkan mikrotik OS

Langkah 2
Set Ip Address Tiap interface

Code:
ip address add address=10.10.10.1/24 interface=ether1
ip address add address=10.10.11.2/24 interface=ether2

Langkah 3
Setting DNS Resolver Mikrotik dan PC

Code:
ip dns static add name=sobatkucyber.com address=10.10.10.1
ip dns set primary-dns=10.10.11.2 secondary-dns=202.134.1.1 allow-remote-requests=yes

Langkah 4
Masqurade Jaringan LAN

Code:
ip firewall nat add chain=srcnat src-address=10.10.10.0/24 action=masquerade

Langkah 5
Memberikan Nama Router

Code:
system identity set name=sobatku

Langkah 6
Set jam Otomatis

Code:
system  ntp client set primary-ntp=0.pool.ntp.org secondary-ntp=3.pool.ntp.org enabled=yes

Langkah 7
Menentukan Default Routing

Code:
ip route gateway=10.10.11.1

Langkah 8
Membuat Mark Connection yang nantinya di pakai untuk memilah Paket

Code:
ip firewall mangle add chain=forward src-address=10.10.10.100 action=mark-connection new-connection-mark=billing
ip firewall mangle add chain=forward src-address=10.10.10.101 action=mark-connection new-connection-mark=pc1
ip firewall mangle add chain=forward src-address=10.10.10.102 action=mark-connection new-connection-mark=pc2
ip firewall mangle add chain=forward src-address=10.10.10.103 action=mark-connection new-connection-mark=pc3
ip firewall mangle add chain=forward src-address=10.10.10.104 action=mark-connection new-connection-mark=pc4
ip firewall mangle add chain=forward src-address=10.10.10.105 action=mark-connection new-connection-mark=pc5
ip firewall mangle add chain=forward src-address=10.10.10.106 action=mark-connection new-connection-mark=pc6
ip firewall mangle add chain=forward src-address=10.10.10.107 action=mark-connection new-connection-mark=pc7
ip firewall mangle add chain=forward src-address=10.10.10.108 action=mark-connection new-connection-mark=pc8
ip firewall mangle add chain=forward src-address=10.10.10.109 action=mark-connection new-connection-mark=pc9
ip firewall mangle add chain=forward src-address=10.10.10.110 action=mark-connection new-connection-mark=pc10

Langkah 9
Membuat mark packet untuk Queue, yang didapat dari mark connection

Code:
ip firewall mangle add chain=forward connection-mark=billing action=mark-packet new-packet-mark=billing
ip firewall mangle add chain=forward connection-mark=pc1 action=mark-packet new-packet-mark=pc1
ip firewall mangle add chain=forward connection-mark=pc2 action=mark-packet new-packet-mark=pc2
ip firewall mangle add chain=forward connection-mark=pc3 action=mark-packet new-packet-mark=pc3
ip firewall mangle add chain=forward connection-mark=pc4 action=mark-packet new-packet-mark=pc4
ip firewall mangle add chain=forward connection-mark=pc5 action=mark-packet new-packet-mark=pc5
ip firewall mangle add chain=forward connection-mark=pc6 action=mark-packet new-packet-mark=pc6
ip firewall mangle add chain=forward connection-mark=pc7 action=mark-packet new-packet-mark=pc7
ip firewall mangle add chain=forward connection-mark=pc8 action=mark-packet new-packet-mark=pc8
ip firewall mangle add chain=forward connection-mark=pc9 action=mark-packet new-packet-mark=pc9
ip firewall mangle add chain=forward connection-mark=pc10 action=mark-packet new-packet-mark=pc10

Langkah 10
Membuat Parent tertinggi Queue

Code:
queue tree add name=sobatku parent=ether2 max-limit=10000000

Langkah 11
Membuat Queue per terminal

Code:
queue tree add name=pcbil packet-mark=billing parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc1 packet-mark=pc1 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc2 packet-mark=pc2 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc3 packet-mark=pc3 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc4 packet-mark=pc4 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc5 packet-mark=pc5 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc6 packet-mark=pc6 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc7 packet-mark=pc7 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc8 packet-mark=pc8 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc9 packet-mark=pc9 parent=sobatku limit-at=64000 max-limit=250000
queue tree add name=pc10 packet-mark=pc10 parent=sobatku limit-at=64000 max-limit=250000

Untuk CIR dan MIR dapat di sesuaikan dengan kesiapan Bandwidth yang didapat dari ISP.Saran untuk setting CIR adalah total dari jumlah PC yang di queue kan jika di kalikan dengan Nilai CIR tidak melebihi Bandwidth minimal yang bisa di dapat dari ISP biasanya menggunakan 64k, total dari 64kx11 PC sekitar 700an kbps. Jika Sobat yakin ISP Sobat bisa memberikan 1 mbps pada saat peak time, Sobat dapat mendapatkan Nilai CIR dari total Bandwidth di bagi jumlah PC.

Semoga membantu ...

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.