Community discussions

MikroTik App
 
Enemy
just joined
Topic Author
Posts: 9
Joined: Tue Jun 05, 2007 6:48 pm

Simple Queue, time issue

Tue Sep 18, 2007 12:30 am

Hi,
trying to apply different traffic limits day/night for my users.

After upgrading to latest routeros, time function begin to work, but *not* for the disired period :(

Basically, what is needed:

22:00 - 11:00 (morning) - higher speed
the rest (i.e. 11:00 - 22:00) - normal speed

I wonder, what the right time format is, docs are very short on this topic.

two items from Queue Simple to show the problem:

2    name="user_night" target-addresses=192.168.1.2/32 dst-address=0.0.0.0/0 interface=all parent=none 
      packet-marks=World Clients Traffic direction=both priority=8 queue=pcq-download/pcq-upload limit-at=64000/64000 max-limit=128000/128000 
      total-queue=default time=22h-1d11h,sun,mon,tue,wed,thu,fri,sat 

3    name="user_day" target-addresses=192.168.1.2/32 dst-address=0.0.0.0/0 interface=all parent=none 
      packet-marks=World Clients Traffic direction=both priority=8 queue=pcq-download/pcq-upload limit-at=64000/64000 max-limit=64000/64000 
      total-queue=default time=0s-1d,sun,mon,tue,wed,thu,fri,sat 

that seems to be the right but winbox won't let me enter these values, other values like 22:00 - 11:00 simply don't work, there is some kind of split on 00:00...
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Re: Simple Queue, time issue

Tue Sep 18, 2007 9:19 am

You cannot "wrap" timer over midnight. So to get your 22:00 to 11:00 time span, you will have to create two entries - one from 22:00 till midnight, and one from 00:00 to 11:00. You get the idea...

Best regards,
Christian Meis
 
Enemy
just joined
Topic Author
Posts: 9
Joined: Tue Jun 05, 2007 6:48 pm

Re: Simple Queue, time issue

Tue Sep 18, 2007 12:35 pm

Thank you,
why wasn't it documented!?

It works like that:
 0    name="Limit1_22_to_midnight" target-addresses=192.168.0.0/24 dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8 
      queue=default-small/default-small limit-at=0/0 max-limit=512000/512000 total-queue=default-small time=22h-1d,sun,mon,tue,wed,thu,fri,sat 

 1    name="Limit2_midnight_to_11" target-addresses=192.168.0.0/24 dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8 
      queue=default-small/default-small limit-at=0/0 max-limit=1000000/1000000 total-queue=default-small time=0s-11h,sun,mon,tue,wed,thu,fri,sat 

 2    name="Limit_base" target-addresses=192.168.0.0/24 dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8 
      queue=default-small/default-small limit-at=0/0 max-limit=128000/128000 total-queue=default-small time=0s-1d,sun,mon,tue,wed,thu,fri,sat
 
InfoSolTech
just joined
Posts: 17
Joined: Thu Aug 06, 2009 6:31 am

I GOT SAME ISSUE

Fri Jun 11, 2010 9:41 pm

Hi there,

I m getting same time issue...

i created 2 queues for 1 user.

1. User1-Night . :: Time:: 03:00:00 AM - 10:00:00 AM
2. User1-Morning ::: Time:10:00:00 AM to 03:00:00 AM


and this covers 24 hrs.. i.e. from 3 night to 10 morning ..and then 10 morning to 3 night...

it is not working for me here... i got 2.9.27 mikrotik.....

after its activation. i dont see any activity again my User-Morning. it shows 0 working.

I am not using any schedule . i m totally managing it through Time option in Queue of that specific user.

Plz guide me.


Thanks
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Simple Queue, time issue

Fri Jun 11, 2010 9:49 pm

a) upgrade. 2.9.27 is out of support. Also, if this is a bug, it would be fixed in later versions.
b) you can't wrap from 10am to 3am in one rule, as described higher up in the thread. You'll have to go from 10am to midnight, and from midnight to 3am in two separate rules.
 
ted
just joined
Posts: 20
Joined: Sat Feb 13, 2010 9:52 am
Contact:

Re: Simple Queue, time issue

Sun Sep 19, 2010 6:22 pm

probably your 2.9.27 version is a cracked version; you should not use cracked version and ask for help !!!

Who is online

Users browsing this forum: infabo and 47 guests