Community discussions

MikroTik App
 
undecided
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon May 16, 2011 11:07 am

ROS v6 - can't get queue tree working

Sun Jun 02, 2013 6:22 pm

Have a few mangle rules to mark packets with layer 7. Such as below to mark bittorent

/ip firewall mangle
add action=mark-packet chain=prerouting comment=bittorent_p2p disabled=no in-interface=cyta6 layer7-protocol=bittorrent new-packet-mark=bittorent_in passthrough=yes


Then for the queue

/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=14000000 max-limit=15000000 name=dsl_IN packet-mark="" parent=global priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=bittorent_in packet-mark=bittorent_in parent=dsl_IN priority=7 queue=default


But even though I can see the counter tick up on the mangle rule, the queue is sitting at 0.

Any ideas?
 
HaPe
Member Candidate
Member Candidate
Posts: 239
Joined: Fri Feb 10, 2012 10:24 pm
Location: Poland

Re: ROS v6 - can't get queue tree working

Sun Jun 02, 2013 7:52 pm

Try first to mark connection, after that packet.
 
undecided
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon May 16, 2011 11:07 am

Re: ROS v6 - can't get queue tree working

Sun Jun 02, 2013 8:14 pm

I don't want to mark connection as I have PCC running load balancing which is already marking connections.
 
undecided
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon May 16, 2011 11:07 am

Re: ROS v6 - can't get queue tree working

Mon Jun 03, 2013 1:02 pm

Try first to mark connection, after that packet.
Are you meaning put the pcc rules after the packet marking rules?

Does anyone else have any suggestions?
 
User avatar
andrewluck
Forum Veteran
Forum Veteran
Posts: 700
Joined: Fri May 28, 2004 9:05 pm
Location: Norfolk, UK

Re: ROS v6 - can't get queue tree working

Mon Jun 03, 2013 2:45 pm

Same problem here. Mangle rule counters are incrementing but the queue tree counters are stuck at zero. There's another problem here as well. After making changes to the queue tree configuration the command
/queue tree print bytes
will timeout.

Regards
Andrew
 
undecided
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon May 16, 2011 11:07 am

Re: ROS v6 - can't get queue tree working

Mon Jun 03, 2013 8:59 pm

Thanks Andrew, this forum seems awfully quiet though!

Can anyone help here please, there is obviously something elementary that I'm not doing correctly. It's quite difficult when the documentation for implementing layer7 queues is a version old....unless unlike me you're a ROS expert who doesn't need a manual....pretty please with some packet bytes sprinkled on top :-)

Who is online

Users browsing this forum: bp0, RBrogen, Semrush [Bot] and 140 guests