Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 2 of 2
  1. #1
    Status
    Offline
    chrone's Avatar
    Calon Member
    Join Date
    Mar 2008
    Posts
    95
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    queue tree dengan 3 atau lebih interface

    halo semua, saya mau nanya nih gimana sih cara setting quee tree yang baik dan benar untuk 3 interface lancard (2 public, 1 local) agar terjadi equal bandwidth sharing.

    saya sudah coba dan berhasil pada 2 interface lancard (1 public, 1 local), tetapi ketika menambah 1 interface lagi untuk isp lain, parent queue tree-nya harus saya kasih global-out untuk aktifitas download agar bandwidthnya tersebar merata.

    interface:
    local
    indosat (512/512 kbps)
    speedy (64/384 kbps)

    dengan menggunakan routing-mark, connection-mark, dan packet-mark, saya berhasil merouting ip address tertentu dari network 192.168.0.0/24 ke gateway tertentu.

    yang menjadi masalah adalah bagaimana mengatur agar supaya semua yang menggunakan indosat dan speedy mendapatkan bandwidth yang merata dengan metode pcq.

    interfaces:
    1. local (192.168.0.1/24)
    2. indosat (10.0.0.254/24)
    3. speedy (10.0.1.254/24)

    route:
    1. default gateway goes to indosat (10.0.0.1/24)
    2. another gateway with routing-mark=indosat goes to indosat (10.0.0.1/24)
    3. another gateway with routing-mark=speedy goes to speedy (10.0.1.1)/24)

    dns:
    1. indosat's dns
    2. opendns' dns

    nat:
    1. src-nat, out interface indosat, masquerade.
    2. src-nat, out interface speedy, masquerade.

    mangle:
    Code:
    10   chain=prerouting src-address=192.168.0.253 action=mark-routing 
         new-routing-mark=indosat passthrough=no 
    
    11   ;;; indosat marking
         chain=forward routing-mark=indosat action=mark-connection 
         new-connection-mark=indosat-connection passthrough=yes 
    
    12   chain=forward connection-mark=indosat-connection action=mark-packet 
         new-packet-mark=indosat passthrough=no 
    
    25   chain=prerouting src-address=192.168.1.254 action=mark-routing 
         new-routing-mark=speedy passthrough=no 
    
    26   ;;; speedy marking
         chain=forward routing-mark=speedy action=mark-connection 
         new-connection-mark=speedy-connection passthrough=yes 
    
    27   chain=forward connection-mark=speedy-connection action=mark-packet 
         new-packet-mark=speedy passthrough=no
    queue type:
    Code:
     5 name="pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 
       pcq-classifier=dst-address pcq-total-limit=2000 
    
     6 name="pcq-upload" kind=pcq pcq-rate=0 pcq-limit=50 
       pcq-classifier=src-address pcq-total-limit=2000
    queue tree:
    Code:
     0   name="download" parent=global-out packet-mark="" limit-at=0 queue=default 
         priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s 
    
     1   name="indosat-download" parent=download packet-mark=indosat limit-at=0 
         queue=pcq-download priority=8 max-limit=512000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     2   name="speedy-download" parent=download packet-mark=speedy limit-at=0 
         queue=pcq-download priority=8 max-limit=0 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     3   name="indosat-upload" parent=indosat packet-mark=indosat limit-at=0 
         queue=pcq-upload priority=8 max-limit=512000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     4   name="speedy-upload" parent=speedy packet-mark=speedy limit-at=0 
         queue=pcq-upload priority=8 max-limit=0 burst-limit=0 burst-threshold=0 
         burst-time=0s
    mohon pencerahannya Click here to enlarge
    Last edited by chrone; 14-04-2008 at 10:12.

  2. #2
    Status
    Offline
    chrone's Avatar
    Calon Member
    Join Date
    Mar 2008
    Posts
    95
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    halo semua, apakah ada yang bisa membantu dengan konfigurasi saya? terima kasih Click here to enlarge

 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 16
    Last Post: 09-05-2012, 14:11
  2. Board dg 2 atau lebih hi-power miniPCI
    By wedhusgembel in forum Wireless Networking
    Replies: 32
    Last Post: 08-08-2011, 15:09
  3. Replies: 40
    Last Post: 23-02-2010, 15:27
  4. [ask]misahin bw lokal+inter dengan queue tree
    By pc2console in forum Scripting @ Mikrotik
    Replies: 5
    Last Post: 29-09-2007, 18:08
  5. [ask] Beda Simple Queue deengan Queue Tree
    By tobi_cjr in forum General Networking
    Replies: 1
    Last Post: 09-08-2007, 16:37

Posting Permissions

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