Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 10 of 10
  1. #1
    Status
    Offline
    okto_2005's Avatar
    Member Super Senior
    Join Date
    Jul 2007
    Posts
    655
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Memisahkan Gateway & Bandwidth Internasonal dan IIX dengan menggunakan PCQ

    Maap gue ini dapet langsung dari web aslinya, perlu ditest dulu.....
    maka diharapkan buat teman teman mentestnya dulu, lalu beri komentar apakah rulenya berhasil apa engga.

    Maka dimohon teman2 untuk mencobanya secara bersama-sama.

    Misalnya kita ingin membagi 3 kelompok client berdasarkan rule berikut ini:
    1.12/6 Mbps Latvian Traffic 1Mbps/512Kbps Overseas traffic
    2.6/3 Mbps Latvian Traffic 512kbps/256Kbps Overseas traffic
    3.4/2 Mbps Latvian Traffic 256Kbps/128Kbps Overseas traffic

    kita sekarang buat address-list iixnya dulu.
    Pesan sponsor:
    Untuk mendapatkan daftar subnet nice (iix) bisa didapatkan dari thread tuts yg laen disini.

    kalo sudah dapet address-lix nya. kemudian kita masukkin daftar client ke address-list kita misal:
    / ip firewall address-list
    add list=12/6 address=192.168.0.2 comment="12/6mbps Local traffic 1mbps/512kbps oversea"
    add list=6/3 address=192.168.0.3 comment="6/3mbps Local traffic 512kbps/256kbps oversea"
    add list=4/2 address=192.168.0.4 comment="4/2mbps Local traffic 256kbps/128kbps oversea"
    sesudah itu di mangle:
    / ip firewall mangle
    add chain=forward action=mark-packet new-packet-mark=LV_DL_6M passthrough=yes \
    in-interface=public src-address-list=latvia comment="Default mangle for \
    Latvia Download" disabled=no
    add chain=forward action=mark-packet new-packet-mark=LV_UL_3M passthrough=yes \
    in-interface=local dst-address-list=latvia comment="Default mangle for \
    Latvia Upload" disabled=no
    add chain=forward action=mark-packet new-packet-mark=OS_DL_512k \
    passthrough=yes in-interface=public src-address-list=!latvia \
    comment="Default mangle for Oversea Download" disabled=no
    add chain=forward action=mark-packet new-packet-mark=OS_UL_256k \
    passthrough=yes in-interface=local dst-address-list=!latvia \
    comment="Default mangle for Oversea Upload" disabled=no
    add chain=forward action=mark-packet new-packet-mark=LV_DL_12M passthrough=no \
    in-interface=public src-address-list=latvia dst-address-list=12/6 \
    comment="Tarif 12/6 Latvia Download" disabled=no
    add chain=forward action=mark-packet new-packet-mark=LV_UL_6M passthrough=no \
    in-interface=local src-address-list=12/6 dst-address-list=latvia \
    comment="Tarif 12/6 Latvia Upload" disabled=no
    add chain=forward action=mark-packet new-packet-mark=OS_DL_1M passthrough=no \
    in-interface=public src-address-list=!latvia dst-address-list=12/6 \
    comment="Tarif 12/6 Oversea Download" disabled=no
    add chain=forward action=mark-packet new-packet-mark=OS_UL_512k passthrough=no \
    in-interface=local src-address-list=12/6 dst-address-list=!latvia \
    comment="Tarif 12/6 Oversea Upload" disabled=no
    add chain=forward action=mark-packet new-packet-mark=LV_DL_4M passthrough=no \
    in-interface=public src-address-list=latvia dst-address-list=4/2 \
    comment="Tarif 4/2 Latvia Download" disabled=no
    add chain=forward action=mark-packet new-packet-mark=LV_UL_2M passthrough=no \
    in-interface=local src-address-list=4/2 dst-address-list=latvia \
    comment="Tarif 4/2 Latvia Upload" disabled=no
    add chain=forward action=mark-packet new-packet-mark=OS_DL_256k passthrough=no \
    in-interface=public src-address-list=!latvia dst-address-list=4/2 \
    comment="Tarif 4/2 Oversea Download" disabled=no
    add chain=forward action=mark-packet new-packet-mark=OS_UL_128k passthrough=no \
    in-interface=local src-address-list=4/2 dst-address-list=!latvia \
    comment="Tarif 4/2 Oversea Upload" disabled=no
    sudah itu buat jenis pcq nya:
    / queue type
    add name="LV_DL_12M" kind=pcq pcq-rate=12000000 pcq-limit=50 \
    pcq-classifier=dst-address pcq-total-limit=2000
    add name="LV_DL_6M" kind=pcq pcq-rate=6000000 pcq-limit=50 \
    pcq-classifier=dst-address pcq-total-limit=2000
    add name="LV_DL_4M" kind=pcq pcq-rate=4000000 pcq-limit=50 \
    pcq-classifier=dst-address pcq-total-limit=2000
    add name="LV_UL_6M" kind=pcq pcq-rate=6000000 pcq-limit=50 \
    pcq-classifier=src-address pcq-total-limit=2000
    add name="LV_UL_3M" kind=pcq pcq-rate=3000000 pcq-limit=50 \
    pcq-classifier=src-address pcq-total-limit=2000
    add name="LV_UL_2M" kind=pcq pcq-rate=2000000 pcq-limit=50 \
    pcq-classifier=src-address pcq-total-limit=2000
    add name="OS_DL_1M" kind=pcq pcq-rate=1000000 pcq-limit=50 \
    pcq-classifier=dst-address pcq-total-limit=2000
    add name="OS_DL_512k" kind=pcq pcq-rate=512000 pcq-limit=50 \
    pcq-classifier=dst-address pcq-total-limit=2000
    add name="OS_DL_256k" kind=pcq pcq-rate=256000 pcq-limit=50 \
    pcq-classifier=dst-address pcq-total-limit=2000
    add name="OS_UL_512k" kind=pcq pcq-rate=512000 pcq-limit=50 \
    pcq-classifier=src-address pcq-total-limit=2000
    add name="OS_UL_256k" kind=pcq pcq-rate=256000 pcq-limit=50 \
    pcq-classifier=src-address pcq-total-limit=2000
    add name="OS_UL_128k" kind=pcq pcq-rate=128000 pcq-limit=50 \
    pcq-classifier=src-address pcq-total-limit=2000
    tahap akhir:
    masukin client ke queue tree:
    / queue tree
    add name="LV_DL_12M" parent=local packet-mark=LV_DL_12M limit-at=0 queue=LV_DL_12M priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="LV_DL_6M" parent=local packet-mark=LV_DL_6M limit-at=0 queue=LV_DL_6M priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="LV_UL_2M" parent=public packet-mark=LV_UL_2M limit-at=0 queue=LV_UL_2M priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="LV_DL_4M" parent=local packet-mark=LV_DL_4M limit-at=0 queue=LV_DL_4M priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="LV_UL_3M" parent=public packet-mark=LV_UL_3M limit-at=0 queue=LV_UL_3M priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="LV_UL_6M" parent=public packet-mark=LV_UL_6M limit-at=0 queue=LV_UL_6M priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="OS_DL_1M" parent=local packet-mark=OS_DL_1M limit-at=0 queue=OS_DL_1M priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="OS_DL_256k" parent=local packet-mark=OS_DL_256k limit-at=0 queue=OS_DL_256k priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="OS_DL_512k" parent=local packet-mark=OS_DL_512k limit-at=0 queue=OS_DL_512k priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="OS_UL_128k" parent=public packet-mark=OS_UL_128k limit-at=0 queue=OS_UL_128k priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="OS_UL_256k" parent=public packet-mark=OS_UL_256k limit-at=0 queue=OS_UL_256k priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    add name="OS_UL_512k" parent=public packet-mark=OS_UL_512k limit-at=0 queue=OS_UL_512k priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
    NB: rule diatas untuk rule dedicated 1:1 (misal corporate), untuk BW Sharing 1:2 ato lainnya mungkin bisa ditambahin sama teman2 laen.

    CMIIW
    coba kl bw sharing address-list nya mungkin ditambah kelompok ip yang ikut share,
    atau buat queue type baru dengan petunjuk ini:


    maap baru segini aja, soalnya gue baru nemu malem ini, en ga bisa trial di tempat gue.... jadi kalo ada code yg salah bisa di perbaiki.

    GOOD LUCK
    Last edited by okto_2005; 08-12-2007 at 09:53.

  2. The Following 3 Users Say Thank You to okto_2005 For This Useful Post:


  3. #2
    Status
    Offline
    Akangage's Avatar
    Administrator
    Join Date
    Aug 2007
    Location
    Daerah Khusus Ibukota Jakarta, Indonesia
    Posts
    4,188
    Reviews
    Read 0 Reviews
    Downloads
    210
    Uploads
    87
    Feedback Score
    0
    Wah....... panjang pisan!!!! Kenapa ga diubah pake versi Indonesia?? itu ada tulisan latvian.... kalo bisa samplenya yang realistis IndonesiaClick here to enlarge Itu Bandwidth-nya kaya BW ISPClick here to enlarge

  4. #3
    Status
    Offline
    okto_2005's Avatar
    Member Super Senior
    Join Date
    Jul 2007
    Posts
    655
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    sama saja sih intinya.... kl mo ambil subnet ip public iix(indonesia) ambil aja nice nya di link yg gue sebut.

  5. #4
    Status
    Offline
    NGERI's Avatar
    Newbie
    Join Date
    Sep 2007
    Location
    Mataram
    Posts
    64
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    kalo sya lebih tertarik ngelihat yang 12M, 6M, .....
    ngeriiiii...........
    ngeriii ... sekali.....
    gilaaa... bener....

    bandwidthnya bisa smpe segede gitu.... kalo download film cukup 5 menit selesai....
    di tempet sya, buat dapet 1 M, mesti matikan semua client duluuu.... Click here to enlarge .... sampe client teriak-teriak.... Click here to enlarge

  6. #5
    Status
    Offline
    bangtopik's Avatar
    Baru Gabung
    Join Date
    Nov 2007
    Posts
    11
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Mau tanya dong temen2x,,,
    Gw udah implementasiin di tempat gue dan work fine tapi biar traffik lokal ngga ikut ke queue mangle nya gimana yah?

  7. #6
    Status
    Offline
    okto_2005's Avatar
    Member Super Senior
    Join Date
    Jul 2007
    Posts
    655
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Gw udah implementasiin di tempat gue dan work fine tapi biar traffik lokal ngga ikut ke queue mangle nya gimana yah?
    ????
    loh ini script tujuannya biar traffic overseas sama not overseas kepisah bandwidthnya,gimana sih maksutnya?????
    Last edited by okto_2005; 08-12-2007 at 09:52.

  8. #7
    Status
    Offline
    supermono's Avatar
    Newbie
    Join Date
    Oct 2007
    Posts
    52
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    mungkin maksudnya traffic LAN?

  9. #8
    Status
    Offline
    supermono's Avatar
    Newbie
    Join Date
    Oct 2007
    Posts
    52
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    buat yang udah berhasil review dong.. PCQ kan katanya sering "bocor"

  10. #9
    Status
    Offline
    mulia_dj's Avatar
    Calon Member
    Join Date
    May 2008
    Posts
    84
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    2 (100%)
    itu overseas apa yach???
    lalu latvian ap juga???
    saya kurang mengerti..
    maklum masih pemula...
    hehehehe......Click here to enlarge

  11. #10
    Status
    Offline
    bupunsusiansu's Avatar
    Newbie
    Join Date
    Jul 2007
    Posts
    25
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by supermono Click here to enlarge
    mungkin maksudnya traffic LAN?
    iya neh ada scriptnya ga ya?
    share dong..

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. menggabungkan PC gateway mikrotik dengan PC server
    By samsulramli in forum Scripting @ Mikrotik
    Replies: 4
    Last Post: 16-01-2011, 17:32
  2. Replies: 40
    Last Post: 23-02-2010, 15:27
  3. Memisahkan Gateway Internasonal dan IIX dengan 3 NIC
    By okto_2005 in forum QOS & Traffic Shaping
    Replies: 16
    Last Post: 21-11-2009, 12:22
  4. Replies: 21
    Last Post: 24-12-2008, 23:06
  5. Memisahkan Gateway Internasonal dan IIX
    By okto_2005 in forum QOS & Traffic Shaping
    Replies: 15
    Last Post: 23-06-2008, 18:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •