Community discussions

MikroTik App
 
Wannabe
just joined
Topic Author
Posts: 18
Joined: Fri Nov 24, 2006 1:24 pm

Now static queues is above

Fri Jan 19, 2007 2:23 pm

Hi,
I tried to use simple queues and dynamic both:
[admin@gw1] > queue simple print
Flags: X - disabled, I - invalid, D - dynamic 
 0    name="local-traffic-queue" target-addresses=192.168.1.0/24 
      dst-address=10.10.1.2/32 interface=ether2 parent=none 
      direction=both priority=8 queue=default-small/default-small 
      limit-at=0/0 max-limit=256000/256000 total-queue=default-small 

 1  D name="<hotspot-user3>" target-addresses=192.168.1.14/32 
      dst-address=0.0.0.0/0 interface=all parent=none direction=both 
      priority=8 queue=default-small/default-small limit-at=49152/49152 
      max-limit=49152/49152 total-queue=default-small 

 2  D name="<hs-ether2>" dst-address=0.0.0.0/0 interface=ether2
     parent=none direction=both priority=8 
     queue=hotspot-default/hotspot-default 
     limit-at=0/0 max-limit=0/0 total-queue=default-small 
[admin@gw1] > 
sergejs wrote about the same question http://forum.mikrotik.com/viewtopic.php?t=13313:
I guess one of the method to accomplish it by using scripts, you can create 'on-login' scripts for HotSpot profile, that will move static queues on top.
Now static queue is above than any dynamic but hotspot user (hotspot-user3) has 48kbps all the time when local resource (10.10.1.2) used!
I need to set 256kbps when local 10.10.1.2 used and 48kbps when any other. How do accomplish it?

P.S. MT 2.9.27