Categories

Memisah Bandwidth Lokal dan Internasional

Sewaktu membuat router untuk memisah bandwidht lokal dan international, saya mengikuti tutorial dari mikrotik.co.id. Langkah-langkahnya saya samakan persis semua. Tapi koq gak jalan ya?

Diulangi saja lagi. Dari awal. system reset :D .Pertama set ip address, publik dan private. Kemudian ip route. Kemudian buat NAT. Tambahkan ip NICE ke address-list. Buat mangle. Dan buat simple queue. Detailnya sbb:
1. Set ip address

/ip address
add address=203.xx.xx.186/30 interface=WAN
add address=192.168.3.1/24 interface=LAN

2. set gateway

/ip route add gateway=203.xx.xx.185

3. melakukan NAT

/ip firewall nat add chain=srcnat action=masquerade

4. Masukkan nice ke address list. Nice dapat diperoleh disini.

/ip firewall address-list
add list=nice address=”1.2.3.4″
remove [find list="nice"]
add list=nice address=”114.120.0.0/13″
add list=nice address=”114.56.0.0/14″
add list=nice address=”125.166.0.0/15″



dst

5. set mangle

/ip firewall mangle
add chain=prerouting in-interface=LAN dst-address-list=nice action=mark-connection new-connection-mark=conn-iix passthrough=yes
add chain=prerouting connection-mark=conn-iix action=mark-packet new-packet-mark=packet-iix passthrough=no
add chain=prerouting action=mark-packet new-packet-mark=packet-intl passthrough=no

6. set simple queue. Setiap klien dibuat 2 rule simple queue.

/queue simple
add name=”komp_lokal” target-addresses=192.168.3.11/32 interface=all packet-marks=packet-iix max-limit=256000/256000
add name=”komp_international” target-addresses=192.168.3.11/32 interface=all packet-marks=packet-intl max-limit=64000/64000

Pemisahan tersebut tanpa menggunakan web-proxy transparan.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

[+] kaskus emoticons nartzco