Community discussions

MikroTik App
 
zong
newbie
Topic Author
Posts: 27
Joined: Thu Sep 29, 2005 2:13 pm

limit bw for download

Tue Jun 27, 2006 12:14 pm

Dear All,

If I have bw 64 kbps and then the speed for download is 64/8 = 8 KBps
is it possible to limit downlod speed became 4 KBps and for browsing stil 64 kbps??

Need your kindly assist...
thx & Regards,
zong
 
Biggs
just joined
Posts: 24
Joined: Mon Sep 26, 2005 5:24 pm

Tue Jun 27, 2006 3:55 pm

I'm using the burst function for that kind of stuff.

http://www.mikrotik.com/docs/ros/2.9/root/queue
 
dritoni
just joined
Posts: 17
Joined: Sat Jun 03, 2006 9:41 pm
Location: Prishtinë

try this

Tue Jun 27, 2006 4:56 pm

Web browsers open the 'save as'(download) dialog box when they can`t open something in the browser. MIME type of a binary file (mos of the download is like this) is application/octet-stream so all you have to do is mark these packets and limit.


add chain=forward in-interface=INTERNET content=application/octet-stream action=mark-connection new-connection-mark=down-2 passthrough=yes \
comment="" disabled=no
add chain=forward in-interface=INTERNET connection-mark=down-2 action=mark-packet new-packet-mark=down-3 passthrough=yes comment="" \
disabled=no


add name="download" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=down-3 priority=8 queue=default/default limit-at=8000/8000 \
max-limit=8000/8000 total-queue=default disabled=yes
 
zong
newbie
Topic Author
Posts: 27
Joined: Thu Sep 29, 2005 2:13 pm

Thu Jun 29, 2006 11:48 am

Dear All.... thx for all your reply..

where do I put the command ?
is it under Ip firewall rule forward ???

thx
Zong
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Thu Jun 29, 2006 11:54 am

Two rules in mangle, 'ip firewall mangle' for 2.9 (dritoni provided with 2.9 syntax).
Third rule 'queue simple'.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Thu Jun 29, 2006 11:54 am

Two rules in mangle, 'ip firewall mangle' for 2.9 version's (dritoni provided with 2.9 syntax).
Third rule 'queue simple'.
 
zong
newbie
Topic Author
Posts: 27
Joined: Thu Sep 29, 2005 2:13 pm

Wed Jul 05, 2006 6:51 am

i am using MT 2.7x
can i use it ??
I have tried using ip firewal > add chain=forward
ERROR : No such argument (chain)

???
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Jul 05, 2006 7:36 am

zong,
2.7 version is too old, I don't even know correct syntax for it.
2.9 version is much better. :wink:

Who is online

Users browsing this forum: No registered users and 17 guests