Saturday, December 8, 2012

Mikrotik queue + Mangle to get some website get more bandwitdh

In the following example is to configure mikrotik to allow 4Mbps to access two websites, news.sabay.com.kh, www.youtube.com

IP address of the websites
 #   LIST                                         ADDRESS                       
 0   JX-LAN                                       10.8.0.73                     
 1   Sabay-List                                   118.67.200.0/21               
 2   youtube-list                                 173.194.38.132                
 3   youtube-list                                 173.194.38.133                
 4   youtube-list                                 173.194.38.134                
 5   youtube-list                                 173.194.38.135                
 6   youtube-list                                 173.194.38.136                
 7   youtube-list                                 173.194.38.137                
 8   youtube-list                                 173.194.38.138                
 9   youtube-list                                 173.194.38.139                
10   youtube-list                                 173.194.38.140                
11   youtube-list                                 173.194.38.141                
12   youtube-list                                 173.194.38.142                
13   youtube-list                                 175.28.1.204                  
14   youtube-list                                 175.28.1.205                  
15   youtube-list                                 175.28.1.206                  
16   youtube-list                                 175.28.1.207                  
17   JX-LAN                                       10.8.0.72                     
18   youtube-list                                 175.28.1.236                  
19   youtube-list                                 175.28.1.238                  
20   youtube-list                                 175.28.1.241                  
21   youtube-list                                 175.28.1.243                  
22   youtube-list                                 175.28.1.247                  
23   youtube-list                                 175.28.1.249                  
24   youtube-list                                 175.28.1.208                  
25   youtube-list                                 175.28.1.210                  
26   youtube-list                                 175.28.1.214                  
27   youtube-list                                 175.28.1.216                  
28   youtube-list                                 175.28.1.219                  
29   youtube-list                                 175.28.1.221                  
30   youtube-list                                 175.28.1.225                  
31   youtube-list                                 175.28.1.227                  
32   youtube-list                                 175.28.1.230                  
33   youtube-list                                 175.28.1.232 


----------------------------------------------------------------------------------------------------------------


Mangle
----------------------------------------------


[test@router] /ip firewall> mangle print
Flags: X - disabled, I - invalid, D - dynamic
 0   chain=forward action=mark-connection new-connection-mark=sabay-conn passthrough=yes src-address-list=JX-LAN dst-address-list=Sabay-List

 1   chain=forward action=mark-packet new-packet-mark=sabay-up-pack passthrough=no in-interface=vlan10-pppoe connection-mark=sabay-conn

 2   chain=forward action=mark-packet new-packet-mark=sabay-down-pack passthrough=no connection-mark=sabay-conn

 3   chain=forward action=mark-connection new-connection-mark=youtube-conn passthrough=yes src-address-list=JX-LAN dst-address-list=youtube-list

 4   chain=forward action=mark-packet new-packet-mark=youtube-up-pack passthrough=no in-interface=vlan10-pppoe connection-mark=youtube-conn

 5   chain=forward action=mark-packet new-packet-mark=youtube-down-pack passthrough=no connection-mark=youtube-conn




Address list -- used in mangle
--------------------------------


[test@router] /ip firewall> address-list print brief
Flags: X - disabled, D - dynamic
 #   LIST                                         ADDRESS                       
 0   JX-LAN                                       10.8.0.73                     
 1   Sabay-List                                   118.67.200.0/21               
 2   youtube-list                                 173.194.38.132                
 3   youtube-list                                 173.194.38.133                
 4   youtube-list                                 173.194.38.134                
 5   youtube-list                                 173.194.38.135                
 6   youtube-list                                 173.194.38.136                
 7   youtube-list                                 173.194.38.137                
 8   youtube-list                                 173.194.38.138                
 9   youtube-list                                 173.194.38.139                
10   youtube-list                                 173.194.38.140                
11   youtube-list                                 173.194.38.141                
12   youtube-list                                 173.194.38.142                
13   youtube-list                                 175.28.1.204                  
14   youtube-list                                 175.28.1.205                  
15   youtube-list                                 175.28.1.206                  
16   youtube-list                                 175.28.1.207                  
17   JX-LAN                                       10.8.0.72                     
18   youtube-list                                 175.28.1.236                  
19   youtube-list                                 175.28.1.238                  
20   youtube-list                                 175.28.1.241                  
21   youtube-list                                 175.28.1.243                  
22   youtube-list                                 175.28.1.247                  
23   youtube-list                                 175.28.1.249                  
24   youtube-list                                 175.28.1.208                  
25   youtube-list                                 175.28.1.210                  
26   youtube-list                                 175.28.1.214                  
27   youtube-list                                 175.28.1.216                  
28   youtube-list                                 175.28.1.219                  
29   youtube-list                                 175.28.1.221                  
30   youtube-list                                 175.28.1.225                  
31   youtube-list                                 175.28.1.227                  
32   youtube-list                                 175.28.1.230                  
33   youtube-list                                 175.28.1.232 



queue-type --> pcq to limit speed
-------------------------------------


[test@router] /queue> type print

 0 name="default" kind=pfifo pfifo-limit=50

 1 name="ethernet-default" kind=pfifo pfifo-limit=50

 2 name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514

 3 name="synchronous-default" kind=red red-limit=60 red-min-threshold=10
   red-max-threshold=50 red-burst=20 red-avg-packet=1000

 4 name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514

 5 name="sabay-pcq-don" kind=pcq pcq-rate=4M pcq-limit=50 pcq-classifier=dst-address
   pcq-total-limit=2000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
   pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64
   pcq-dst-address6-mask=64

 6 name="sabay-pcq-up" kind=pcq pcq-rate=4M pcq-limit=50 pcq-classifier=src-address
   pcq-total-limit=2000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
   pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64
   pcq-dst-address6-mask=64

 7 name="maskclip" kind=pcq pcq-rate=8M pcq-limit=50 pcq-classifier=dst-address
   pcq-total-limit=2000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
   pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64
   pcq-dst-address6-mask=64

 8 name="default-small" kind=pfifo pfifo-limit=10



queue-tree
--------------------------------

[test@router] /queue> tree print
Flags: X - disabled, I - invalid
 0   name="sabay-g-in" parent=global-in limit-at=0 priority=8 max-limit=0 burst-limit=0
     burst-threshold=0 burst-time=0s

 1   name="sabay-g-out" parent=global-out limit-at=0 priority=8 max-limit=0 burst-limit=0
     burst-threshold=0 burst-time=0s

 2   name="saby-qt-in" parent=sabay-g-in packet-mark=sabay-up-pack limit-at=0
     queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

 3   name="youtube-qt-in" parent=sabay-g-in packet-mark=youtube-up-pack limit-at=0
     queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

 4   name="sabay-qt-up" parent=sabay-g-out packet-mark=sabay-down-pack limit-at=0
     queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

 5   name="youtube-qt-out" parent=sabay-g-out packet-mark=youtube-down-pack limit-at=0
     queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s


simple queue-to some connnection with higher bandwidth ( must on top most)
------------------------------------------------------


[test@router] /queue> simple print                

1   name="youtube-down-panith" target-addresses=10.8.0.72/32 interface=all parent=none packet-marks=youtube-down-pack direction=both priority=8 queue=sabay-pcq-up/sabay-pcq-don limit-at=0/0
      max-limit=4M/4M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

2   name="sabay-down-panith" target-addresses=10.8.0.72/32 interface=all parent=none packet-marks=sabay-down-pack direction=both priority=8 queue=sabay-pcq-up/sabay-pcq-don limit-at=0/0 max-limit=4M/4M
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

3   name="youtube-down" target-addresses=10.8.0.73/32 interface=all parent=none packet-marks=youtube-down-pack direction=both priority=8 queue=sabay-pcq-up/sabay-pcq-don limit-at=0/0 max-limit=4M/4M
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

4   name="sabay-down" target-addresses=10.8.0.73/32 interface=all parent=none packet-marks=sabay-down-pack direction=both priority=8 queue=sabay-pcq-up/sabay-pcq-don limit-at=0/0 max-limit=4M/4M
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

93 comments:

  1. The two famous boxers Floyd Mayweather and McGregor have given their consent to play a friendly boxing match on 26 in Las Vegas. The fight is considered to become the highest grossing event the history of any sport. The match was expected on Wednesday evening with a McGregor chirp up “The Fight is on”, moments at first Mayweather posted an uplift video on his Instagram page, towards with the caption “It’s Official”.

    Floyd Mayweather vs Conor Mcgregor
    Mcgregor vs Mayweather
    Mayweather vs McGregor
    Mcgregor Mayweather
    Mayweather McGregor
    mayweather mcgregor fight

    ReplyDelete
  2. We offer the very best car insurance in Calgary, Airdrie and surrounding areas. Let us provide you with the best coverage at the right rates. Contact is today! http://www.midomi.com/index.php?action=main.profile&username=verycheap1

    ReplyDelete
  3. Download Photoshop 7.0 free download for Dummies http://freefileserver.com/adobe-photoshop-7-0/ You will find

    ReplyDelete
  4. How to download and install adobe Photoshop 7.0 for free. Photoshop 7.0 free download ye bahut hi popular photo editing application software hai

    ReplyDelete
  5. The McGregor vs Mayweather is on! The worst kept secret in the fight has finally been revealed with the superclassification that will take place later this summer.
    McGregor vs Mayweather Live

    McGregor vs Mayweather Fight

    McGregor vs Mayweather Boxing

    Mayweather vs McGregor

    Mayweather vs McGregor

    Mayweather vs McGregor Live

    Mayweather vs McGregor Live Stream

    Mayweather vs McGregor Fight Date, Time and TV Channel: Our guide reveals what you really need to know about the year’s biggest boxing showdown.

    ReplyDelete
  6. the best free iphone apps
    in one place - what more could you ask for ... The app is free, or you can pay a small in-app purchase to get rid of ads.

    ReplyDelete
  7. CopyTrans Apps is a free tool to manage iPhone apps and app documents. Transfer iPhone apps with settings and iPad games with scores to any device. http://connect.lulu.com/t5/user/viewprofilepage/user-id/2299575

    ReplyDelete
  8. Quitting iPhone apps is simple. Learn how to get rid of apps that are locked up or using unwanted data in just a few steps. http://connect.lulu.com/t5/user/viewprofilepage/user-id/2299575

    ReplyDelete
  9. https://theconversation.com/profiles/micle-jon-402203/news If you're someone who loves editing your photos on your iPhone or iPad ... filters to your photos, then consider downloading the free app

    ReplyDelete
  10. https://theconversation.com/profiles/micle-jon-402203/news Here, we've picked just some of the best apps for iOS so you can make ... Free. Get truly private messaging in this alternative to your standard ...

    ReplyDelete
  11. To the casual fan, it might not sound a particularly significant development. On Wednesday, at their rather stuffy monthly meeting, the Nevada State Athletic Commission granted both Conor McGregor vs Floyd Mayweather an exemption to fight in 8oz – rather than 10oz – boxing gloves.
    McGregor vs Mayweather

    McGregor vs Mayweather Live

    McGregor vs Mayweather Live Stream

    McGregor vs Mayweather Fight

    Conor McGregor vs Floyd Mayweather

    McGregor vs Mayweather

    McGregor vs Mayweather Live

    McGregor vs Mayweather Fight

    Watch McGregor vs Mayweather

    ReplyDelete
  12. best buy review hp laptop Our full review of HP's 14-inch budget buy laptop, the HP 14-an013nr featuring a 1080p screen and an AMD APU chip inside.

    ReplyDelete
  13. happiest to use day to day. Here's our HP 250 G4 review. ... Like other laptops at this price, there's no backlight. At first glance the trackpad ...best buy review hp laptop

    ReplyDelete
  14. Choose from a wide range of International & Philippines brands. Find the latest collections of Women's buy iphone 6s cases
    online | Cash on Delivery

    ReplyDelete
  15. Results 1 - 48 of 8023 - Shop from the world's largest selection and best deals for HP Laptops and Netbooks. Shop with confidence on eBay! best buy review hp laptop

    ReplyDelete
  16. 147 products - Laptops HP 147 products found. ... HP Notebook 15-bs091nia - 7th Gen. Core i5-7200U 2.5 GHz - 15.6" HD - DOS - Jet Black. HP 15-ay072nia Notebook - 15.6" Diagonal HD WLED-Backlit Display - 6th Gen. Intel Core i3-6006U - FreeDOS 2.0. best buy review hp laptop

    ReplyDelete
  17. Compatible with Apple
    buy iphone 6s cases

    polycarbonate and TPE materials; drop-resistant design; interwoven grips; strategically placed thumb ridges; raised

    ReplyDelete
  18. Need a new phone? Get the Apple iPhone 7 Plus 32GB handset with Virgin Media Mobile and enjoy the UK's most flexible tariffs, with great coverage through ...
    buy Rose gold iphone 7 plus

    ReplyDelete
  19. American Made 2017 Full Movie Watch Online, American Made is a 2017 American biographical crime film directed by Doug Liman, written by Gary Spinelli and starring Tom Cruise.

    Watch American Made full Movie 2017 is more interesting as a showcase for the dateless elasticity of Cruise’s star power. It feels, for better or worse, like a film he could have made at almost any point in the last 30 years.

    American Made 2017 movie
    American Made 2017 movie isn’t a major breakthrough, but it still feels like a career progression for Cruise simply by handing him an intriguing role: Adler Berriman “Barry” Seal, prime mover in one of those just-declassified, you-couldn’t-make-it-up stories that sporadically fall into the hands of grateful producers.
    American Made 2017 Full Movie
    Watch American Made movie Online
    Watch American Made Online
    Watch American Made 2017 Online

    Watch American Made Online also offers some parallels to fictional Tom Cruise projects. We've seen the star have some other airplane trouble recently in The Mummy and Mission: Impossible - Rogue Nation. Meanwhile, American Made's trailer features a scene almost identical to one in last year's Jack Reacher: Never Go Back. In both, Cruise plays a character who is able to successfully taunt police officers with the knowledge that they're going to have to let him go.

    Next month, Tom Cruise is reteaming with his Edge of Tomorrow director Doug Liman for American Made. Based on a true story, the film finds the three-time Academy Award nominee playing the part of Barry Seal, a pilot-turned-drug runner who, in 1984, was recruited to be an undercover CIA informant for one of the biggest drug busts in history. While Seal may not be one of the most virtuous of real life figures, Cruise says that it was Seal's incredible true story that was just too interesting to pass up. Cruise said.

    ReplyDelete
  20. Canelo vs Golovkin Fight, live, stream, Canelo vs GGG, Golovkin vs Canelo, 2017, time, watch, online, free, PPV, Boxing

    Canelo vs Golovkin
    Golovkin vs Canelo
    Canelo Golovkin
    Golovkin Canelo
    Canelo vs GGG
    GGG vs Canelo
    Canelo GGG
    GGG Canelo

    ReplyDelete
  21. FREE Download https://www.youtube.com/watch?v=y7dLFZv9NsM Full Version - is the final version of the first generation (version 7) before the release of Adobe Photoshop CS (Creative ...

    ReplyDelete
  22. How to download https://www.youtube.com/watch?v=y7dLFZv9NsM for windows 7 .... can i get premier pro old version for windows xp 32bit some one should help and show ...

    ReplyDelete
  23. This comment has been removed by the author.

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. This comment has been removed by the author.

    ReplyDelete
  26. This comment has been removed by the author.

    ReplyDelete
  27. This comment has been removed by the author.

    ReplyDelete
  28. This comment has been removed by the author.

    ReplyDelete
  29. Adobe photoshop cs6 serial number 64 bitand Crack. Hope it will be very helpful for you in activating your version of photoshop cs6. So are you ready for it? Yeah here we go.. Before getting into this post i'm glad to inform few other posts of mine which has bee

    ReplyDelete
  30. We have search the internet Forum and blog and found out that a large number of users are finding a way to by pass the online verification of your adobe Photoshop cs6 serial key required by adobe Photoshop cs6. This Verification process is to ensure their product been bought and not issued out for free. What the hell ...


    Adobe photoshop cs6 serial number 64 bit

    Free download photoshop cs6 serial number 64 bit

    full download photoshop cs6 serial number 64 bit

    Latest download photoshop cs6 serial number 64 bit

    Full free download photoshop cs6 serial number 64 bit

    Download full version photoshop cs6 serial number 64 bit

    ReplyDelete
  31. Could not complete the "New 3D extrusion from selected layer . Serial number: .I can no longer use. 3D commands in Photoshop CS6 Extended I . " Could not complete the "New 3D extrusion from selected layer command . Serial number: .Adobe Photoshop CS6 64 Bit Crack Free Download . path, or layer mask with the ...

    Adobe photoshop cs6 serial number 64 bit

    Free download photoshop cs6 serial number 64 bit

    full download photoshop cs6 serial number 64 bit

    Latest download photoshop cs6 serial number 64 bit

    Full free download photoshop cs6 serial number 64 bit

    Download full version photoshop cs6 serial number 64 bit

    ReplyDelete
  32. Aug 15, 2013 - Adobe Photoshop CS6 merupakan versi baru dari Adobe Photoshop, yakni sebuah aplikasi edit foto yang powerfull. Photoshop .... I suggest you to use This version my own tested for Adobe Photoshop cs6 http://easycrack.net/adobe-photoshop-cs6-serial-number-crack-keygen.html CherSssS!!!! 28 July ...

    Adobe photoshop cs6 serial number 64 bit

    Free download photoshop cs6 serial number 64 bit

    full download photoshop cs6 serial number 64 bit

    Latest download photoshop cs6 serial number 64 bit

    Full free download photoshop cs6 serial number 64 bit

    Download full version photoshop cs6 serial number 64 bit

    ReplyDelete
  33. Adobe Cs6 Serial Generator best ad blocker for internet explorer 11 for windows 10 windows media center windows 10 64 bits 2010 outlook archive software. Microsoft Office 2016 product key provide efficient software technique , methods for you. In this tutorial, I will give you Adobe Photoshop CS6 serial number free.

    Adobe photoshop cs6 serial number 64 bit

    Free download photoshop cs6 serial number 64 bit

    full download photoshop cs6 serial number 64 bit

    Latest download photoshop cs6 serial number 64 bit

    Full free download photoshop cs6 serial number 64 bit

    Download full version photoshop cs6 serial number 64 bit

    ReplyDelete
  34. The 147th edition of the British Open begins July 19 at the Carnoustie Race Championship in Angus, Scotland.Defending champion Jordan Spieth leads the pack as he tries to put Claret Jug up for his fourth major victory in his career.MORE: Chances of winning the British Open 2018

    British Open 2018
    British Open
    The British Open 2018
    British Open Golf
    British Open 2018 Live
    2018 British Open

    British Open 2018
    British Open
    2018 British Open
    British Open Golf 2018
    British Open live
    2018 British Open Golf

    ReplyDelete
  35. The 147th edition of the British Open begins July 19 at the Carnoustie Race Championship in Angus, Scotland.Defending champion Jordan Spieth leads the pack as he tries to put Claret Jug up for his fourth major victory in his career.MORE: Chances of winning the British Open 2018


    British Open 2018
    British Open
    The British Open 2018
    British Open Golf
    British Open 2018 Live
    2018 British Open

    British Open 2018
    British Open
    The British Open 2018
    British Open Golf
    British Open 2018 Live
    2018 British Open

    ReplyDelete
  36. The 2018 Open Championship will be the 147th Open Championship, held 19–22 July 2018 at Carnoustie Golf Links in Angus, Scotland. It will be the eighth Open Championship played at Carnoustie.
    The 2018 Open Championship will be the third to be televised domestically by Sky Sports. In the United States, it will be the third Open Championship to be televised by NBC (Golf Channel's parent network).

    british open golf live
    british open golf live stream
    british open golf live stream onine
    british open golf 2018
    british open golf 2018 watch
    british open golf 2018 watch online

    ReplyDelete
  37. The 2018 Open Championship will be the 147th Open Championship, held 19–22 July 2018 at Carnoustie Golf Links in Angus, Scotland. It will be the eighth Open Championship played at Carnoustie.
    The 2018 Open Championship will be the third to be televised domestically by Sky Sports. In the United States, it will be the third Open Championship to be televised by NBC (Golf Channel's parent network).


    british open golf live
    british open golf live stream
    british open golf live stream onine
    british open golf 2018
    british open golf 2018 watch
    british open golf 2018 watch online

    ReplyDelete
  38. The 147th edition of the British Open begins July 19 at the Carnoustie Race Championship in Angus, Scotland.Defending champion Jordan Spieth leads the pack as he tries to put Claret Jug up for his fourth major victory in his career.MORE: Chances of winning the British Open 2018


    British Open 2018
    British Open
    The British Open 2018
    British Open Golf
    British Open 2018 Live
    2018 British Open

    British Open 2018
    British Open
    The British Open 2018
    British Open Golf
    British Open 2018 Live
    2018 British Open



    Open Championship
    Open Championship Live
    Open Championship 2018

    The Open Championship
    The Open Championship Live
    Open Championship Golf Live

    ReplyDelete
  39. The 147th edition of the British Open begins July 19 at the Carnoustie Race Championship in Angus, Scotland.Defending champion Jordan Spieth leads the pack as he tries to put Claret Jug up for his fourth major victory in his career.MORE: Chances of winning the British Open 2018


    British Open 2018
    British Open
    The British Open 2018
    British Open Golf
    British Open 2018 Live
    2018 British Open

    British Open 2018
    British Open
    The British Open 2018
    British Open Golf
    British Open 2018 Live
    2018 British Open



    Open Championship
    Open Championship Live
    Open Championship 2018

    The Open Championship
    The Open Championship Live
    Open Championship Golf Live

    ReplyDelete
  40. Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    Ryder Cup 2018
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    https://rydercuprydercup.de/
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    Ryder Cup 2018
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    https://cuprydercupryder.de/
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    Ryder Cup 2018
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    Ryder Cup 2018
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.
    https://rydercuprydercup.org.uk/
    Ryder Cup 2018: Find out when and how to watch the 2018 Ryder Cup live all week long. Its a major ryder cup 2018 tournament between usa vs europe.

    ReplyDelete