This is the combination, continued and completion of bandwidth management methods previously using parent queue tree about to handle all sorts of purposes in an internet network that is more complex. Perhaps if you do not want to think too hard, you simply apply the simple queue to limit bandwidth that so powerful and assertive to limit bandwidth per client on your internet network. The problem is if we share the bandwidth with a simple queue is stiffness, and it's hard for me to divide into many clients normally. It would be appropriate to be applied to the kind of dedicate internet connection.
For example If I have a totally the bandwidth internet connection is up to 2M, after i have tested by speed test, the bandwidth average is 512 kbps. It means that if I have 6 clients, be 512/6 = 86 kbps/clients normally, the ideal number is very small inappropriate for our client. If the bandwidth of up to 2 M calculated with 2000/6 to be around 334 kbps /clients, it can makes browsing and online game stuck if just only one client there who download and play streaming video, because the client spend almost all the average speed (512kbps) other clients will be especially problematic just for browsing or online game. In this case we need the priority to the fourth packets.
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Full bandwidth management with parent queue tree
1. Semoga Bermanfaat
Visit Blog sayawww.gerbang-komputer.com
Salam suksesRahmat Hidayatullah
Full Bandwidth Management Parent Queue Tree
Thisis the combination,continuedandcompletionof bandwidthmanagement methodspreviouslyusing
parentqueue tree abouttohandle all sortsof purposesinaninternetnetworkthatismore complex.
Perhapsif youdo not wantto thinktoohard, yousimplyapplythe simple queue tolimitbandwidththat
so powerful andassertivetolimitbandwidthperclientonyourinternetnetwork.The problemisif we
share the bandwidthwithasimple queue isstiffness,andit'shardfor me to divide intomanyclients
normally.Itwouldbe appropriate tobe appliedtothe kindof dedicateinternet connection.
For example If Ihave a totallythe bandwidthinternetconnectionisupto2M, afteri have testedby
speedtest,the bandwidthaverageis512 kbps.Itmeansthat if I have 6 clients,be 512/6 = 86
kbps/clientsnormally,the idealnumberisverysmall inappropriate forourclient.If the bandwidthof up
to 2 M calculatedwith2000/6 to be around334 kbps/clients,itcanmakesbrowsingandonline game
stuck if justonlyone clientthere whodownloadandplaystreamingvideo,because the clientspend
almostall the average speed(512kbps) otherclientswill be especiallyproblematicjustforbrowsingor
online game.Inthiscase we needthe prioritytothe fourthpackets.
Full BandwidthManagementwiththe parentqueue tree complete the lackof packetsconnectionper
client,especiallytohandle the internetnetworkwithmanyclients.The principle isequallydividethe
bandwidthtoall the clientswithbandwidthgreaterthanthatshouldbe givenasthe limitbandwidthon
each clients,in whichwe setOnlineGames,Browsing,Download,VideoStreamingpackets,connection
packets.Well,fornowI will make the Full BandwidthManagementusingthe parent queue tree.For
more easilytomake the complex rule,Iwill workwiththe scriptsformore quickly.
5. Semoga Bermanfaat
Visit Blog sayawww.gerbang-komputer.com
Salam suksesRahmat Hidayatullah
add name=Billing parent=All-Bandwidth packet-mark=Billing-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
add name=Client1 parent=All-Bandwidth packet-mark=Client1-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
add name=Client2 parent=All-Bandwidth packet-mark=Client2-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
add name=Client3 parent=All-Bandwidth packet-mark=Client3-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
add name=Client4 parent=All-Bandwidth packet-mark=Client4-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
add name=Client5 parent=All-Bandwidth packet-mark=Client5-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
add name=Client6 parent=All-Bandwidth packet-mark=Client6-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
add name=Master parent=All-Bandwidth packet-mark=Master-pkt queue=default
priority=8 limit-at=256k max-limit=256k burst-limit=720k burst-threshold=192k
burst-time=2s
The scripts above consists with mangle and queue tree rule. From here we are already making
the connections per ip address of clients, such as
Connections Per Client : Billing-conn, Client1-conn, Client2-conn, Client3-conn,
Client4-conn, Client5-conn, Client6-conn, Master-conn
Connection Packets Per Client : Billing-pkt, Client1-pkt, Client1-pkt, Client2-pkt,
Client3-pkt, Client4-pkt, Client5-pkt, Client6-pkt, Master-pkt
3. The Connections per client that we have divided will separated into four packets
connection such as browsing, online games, download, streaming video per client. Here are
the forth part of four different packets connection. If there are any packets that have not been
defined I asked for suggestions from those of you that had experience.
Part I : Making the packets per client for download and the queue tree with priority as you
wish, here the following scripts:
/ip firewall layer7-protocol
add comment="" name=download
regexp="^.*get.+.(exe|rar|iso|zip|7zip|flv|mkv|avi|mp4|3gp|rmvb|mp3|img|dat
|mov).*$"
/ip firewall mangle
add chain=forward layer7-protocol=download action=mark-packet new-packet-
mark=billing-dpkt passthrough=no packet-mark=Billing-pkt comment=Billing-Down