Community discussions

 
jamchan_hn
just joined
Topic Author
Posts: 18
Joined: Tue Nov 13, 2007 12:54 am

delay pools

Sat Feb 02, 2008 7:06 pm

hi friends.

how can i make delay pools on MK, i wan 768kb for http y 128k for downloas to my residentials clients and i read about delay pools in squid , with this i can do, but in MK how can i make it??

regards..
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8319
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: delay pools

Sun Feb 03, 2008 1:04 am

use Queues
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
jamchan_hn
just joined
Topic Author
Posts: 18
Joined: Tue Nov 13, 2007 12:54 am

Re: delay pools

Sun Feb 03, 2008 4:59 am

thanks chupaka

i try with queues and bursts givin a 128k max-limit and 768k burst and i try marking mime applications limiting with queues tree but it doesnt work i just want fast web browsing and limit the downloads
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8319
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: delay pools

Mon Feb 04, 2008 1:44 am

try using hotspot + queue burst
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
titius
Member
Member
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Re: delay pools

Mon Feb 11, 2008 2:22 pm

0   ;;; Upload_ALL
     chain=prerouting src-address-list=twi dst-address-list=!twi
     action=mark-connection new-connection-mark=UPLOAD passthrough=yes

1   chain=prerouting connection-mark=UPLOAD src-address-list=""
     dst-address-list=!twi action=change-tos new-tos=normal

2   chain=prerouting connection-mark=UPLOAD src-address-list=twi
     dst-address-list=!twi action=mark-packet new-packet-mark=UPLOAD_P
     passthrough=yes

3   ;;; Down_ALL
     chain=postrouting dst-address-list=twi action=mark-connection
     new-connection-mark=DOWNLOAD passthrough=yes

4   chain=postrouting connection-mark=DOWNLOAD action=change-tos
     new-tos=normal

5   chain=postrouting connection-mark=DOWNLOAD action=mark-packet
     new-packet-mark=DOWNLOAD_P passthrough=yes

6   ;;; DNS
     chain=prerouting protocol=udp dst-port=53 src-address-list=twi
     dst-address-list=!twi action=mark-connection new-connection-mark=DNS_UP
     passthrough=yes

7   chain=prerouting protocol=udp dst-port=53 connection-mark=DNS_UP
     src-address-list=twi dst-address-list=!twi action=change-tos
     new-tos=min-delay

8   chain=prerouting protocol=udp dst-port=53 connection-mark=DNS_UP
     src-address-list=twi dst-address-list=!twi action=mark-packet
     new-packet-mark=DNS_UP passthrough=no

9   chain=postrouting protocol=udp src-port=53 dst-address-list=twi
     action=mark-connection new-connection-mark=DNS_DOWN passthrough=yes

10   chain=postrouting protocol=udp src-port=53 connection-mark=DNS_DOWN
     dst-address-list=twi action=change-tos new-tos=min-delay

11   chain=postrouting protocol=udp src-port=53 connection-mark=DNS_DOWN dst-address-list=twi action=mark-packet
     new-packet-mark=DNS_DOWN_P passthrough=no

12   ;;; HTTP_UP
     chain=prerouting protocol=tcp dst-port=80 src-address-list=twi dst-address-list=!twi action=mark-connection
     new-connection-mark=HTTP_UP passthrough=yes

13   chain=prerouting protocol=tcp dst-port=80 connection-mark=HTTP_UP src-address-list=twi dst-address-list=!twi
     action=change-tos new-tos=max-throughput

14   ;;; first_512kB_UP
     chain=prerouting protocol=tcp dst-port=80 connection-mark=HTTP_UP connection-bytes=0-512000 src-address-list=twi
     dst-address-list=!twi action=mark-packet new-packet-mark=PRVIH_512_UP passthrough=no

15 ;;; rest_UP 
    chain=prerouting protocol=tcp dst-port=80 connection-mark=HTTP_UP src-address-list=twi dst-address-list=!twi
     action=mark-packet new-packet-mark=HTTP_UP_P passthrough=no

16   ;;; HTTP_DOWN
     chain=postrouting protocol=tcp src-port=80 src-address-list=!twi dst-address-list=twi action=mark-connection
     new-connection-mark=HTTP_DOWN passthrough=yes

17   chain=postrouting protocol=tcp src-port=80 connection-mark=HTTP_DOWN dst-address-list=twi action=change-tos
     new-tos=max-throughput

18   ;;; First_MB_Down
     chain=postrouting protocol=tcp src-port=80 connection-mark=HTTP_DOWN connection-bytes=0-1024000
     src-address-list=!twi dst-address-list=twi action=mark-packet new-packet-mark=HTTP_DOWN_1MB passthrough=no

19   ;;; rest
     chain=postrouting protocol=tcp src-port=80 connection-mark=HTTP_DOWN src-address-list=!twi dst-address-list=twi
     action=mark-packet new-packet-mark=HTTP_DOWN_P passthrough=no

Who is online

Users browsing this forum: No registered users and 119 guests