Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 4 of 4
  1. #1
    Status
    Offline
    princenux's Avatar
    Member
    Join Date
    Aug 2007
    Posts
    264
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [tanya] queue tree ....

    aloha....
    aye mo tanya lagi.... karena kebetulan lagi agak pusing.... Click here to enlarge

    begini ceritanya.....
    jadi yg di inginkan adalah....
    1. main linenya limit 64k max 512
    2. trus... nanti.. kalo orang yg download file .exe dikasih limit 64k max 64k

    nah... ini bukan seperti yg ada di tutz... bagian delay pool... Click here to enlarge
    karena kalo disana kan pake dest-address...
    kalo pake dest address, hasilnya akan beda... karena kalo misalnya di download dari server a, maka .. baik itu dia download exe, avi, tar.gz dsb.. akan kena 64 64, padahal yg di rencanakan cuma exe aja. Click here to enlarge

    nah yg udah di coba...
    di manggle .... content exe...
    trus di masukin queue....
    udah berhasil....

    cuma masalah... koq kalo dari parentnya...
    jadi orang kalo download ke tempat lain.. gak ke queue ? malah dapet 1 mbps ? Click here to enlarge


    scriptnya :

    mangle
    Code:
    [admin@MikroTik] > ip firewall mangle print
    Flags: X - disabled, I - invalid, D - dynamic 
     0   chain=forward action=mark-connection new-connection-mark=inet_conn 
         passthrough=yes src-address=192.168.10.0/24 protocol=tcp 
    
     1   chain=forward action=mark-connection new-connection-mark=exe_conn 
         passthrough=yes src-address=192.168.10.0/24 protocol=tcp content=.exe 
    
     2   chain=forward action=mark-packet new-packet-mark=exe_packet passthrough=no 
         connection-mark=exe_conn 
    
     3   chain=forward action=mark-packet new-packet-mark=inet_packet 
         passthrough=no connection-mark=inet_conn 
    [admin@MikroTik] >
    queue tree
    Code:
    [admin@MikroTik] > queue tree print        
    Flags: X - disabled, I - invalid 
     0   name="download_queue" parent=ether2 packet-mark=inet_packet limit-at=64000 
         queue=default priority=8 max-limit=512000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     1   name="exe_queue" parent=download_queue packet-mark=exe_packet 
         limit-at=64000 queue=default priority=8 max-limit=64000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    [admin@MikroTik] >
    note: parent=ether2, ini interface yg ke LAN

    yg udah di coba.... kalo cuma ada 1 queue aja, jadi kalo parent aja, dia akan jalan 64 512, tapi kalo di tambahin ada anaknya (yg exe), anaknya jalan 64 64, tapi bapaknya... jadi loss .... 1.5 Mbps... Click here to enlarge

    makasih....

    tulung di bantu yah... salah dimana... Click here to enlarge

  2. #2
    Status
    Offline
    princenux's Avatar
    Member
    Join Date
    Aug 2007
    Posts
    264
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    solusi sementara....
    dan its works...

    NAT and Mangle
    Code:
    [admin@MikroTik] > ip firewall nat print
    Flags: X - disabled, I - invalid, D - dynamic 
     0   chain=srcnat action=masquerade src-address=192.168.10.0/24 
    [admin@MikroTik] > ip firewall mangle print 
    Flags: X - disabled, I - invalid, D - dynamic 
     0   chain=prerouting action=mark-connection new-connection-mark=conn_download 
         passthrough=yes src-address=192.168.10.0/24 protocol=tcp content=.exe 
    
     1   chain=prerouting action=mark-connection new-connection-mark=conn_download 
         passthrough=yes src-address=192.168.10.0/24 protocol=tcp content=.avi 
    
     2   chain=prerouting action=mark-packet new-packet-mark=packet_download 
         passthrough=no connection-mark=conn_download 
    
     3   chain=prerouting action=mark-connection new-connection-mark=conn_all 
         passthrough=yes src-address=192.168.10.0/24 protocol=tcp 
    
     4   chain=prerouting action=mark-packet new-packet-mark=packet_all 
         passthrough=no connection-mark=conn_all 
    [admin@MikroTik] >
    queue tree
    Code:
    [admin@MikroTik] > queue tree print         
    Flags: X - disabled, I - invalid 
     0   name="download_interfafce" parent=main interface packet-mark=packet_all 
         limit-at=64000 queue=default priority=8 max-limit=128000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     1   name="download_download" parent=main interface packet-mark=packet_download 
         limit-at=32000 queue=default priority=8 max-limit=64000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     2   name="main interface" parent=ether2 packet-mark="" limit-at=64000 
         queue=default priority=8 max-limit=512000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    [admin@MikroTik] >

  3. #3
    Status
    Offline
    donipermono1982's Avatar
    Moderator
    Join Date
    Feb 2008
    Location
    Jakarta Selatan
    Posts
    2,809
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    wuih mantaf nih boz tutznya numpang coba yaClick here to enlarge

  4. #4
    Status
    Offline
    princenux's Avatar
    Member
    Join Date
    Aug 2007
    Posts
    264
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    ini bukan tutz
    ini... pertanyaan yg di jawab sendiri... 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. queue tree or queue simple
    By c0nf in forum General Networking
    Replies: 116
    Last Post: 21-04-2013, 00:06
  2. loadbalance nth + queue tree
    By choi in forum General Networking
    Replies: 13
    Last Post: 04-11-2010, 04:59
  3. HOTSPOT+mangle+pcq+queue tree
    By sartugiono in forum General Networking
    Replies: 11
    Last Post: 19-03-2008, 09:37
  4. Replies: 3
    Last Post: 29-09-2007, 16:25
  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
  •