• MikroTik.com
  • RouterBOARD
  • User Meeting
  • Training
  • User Manual
  • Support
  • Downloads
  • Videos
Register |   * Login | HOME

View unanswered posts | View active topics

Simple Queue before dinamic simple queue  Page 1 of 1
 [ 2 posts ]  Post new topic Reply to topic
  Print view Previous topic | Next topic 
Author Message
jackwisp
 Post subject: Simple Queue before dinamic simple queue
PostPosted: Tue Feb 07, 2012 3:52 pm 
Offline
Frequent Visitor
Frequent Visitor
User avatar

Joined: Thu May 07, 2009 1:13 am
Posts: 68
Karma: 0

Location: Montevideo - Uruguay
Hello, we're dealing with a simple queue issue.
We have implemented a PPPoE server, via radius I send some rate limits, when the PPP session is established I get a simple queue associated to this PPP session to limit it, at this point all work fine.

Now I'm trying to avoid this rate limit for some protocols, for example, I've done a mangle rule to mark ICMP packets, then I defined a simple queue that match those ICMP packets (previously mangled) and apply no rate limits.

The mangle rule works fine, I seed how the ICMP packets are marked, but this traffic don't go trough the simple queue I defined for.

Here are some config lines from my mikrotik router:

The mangle rule:

Code:
/ip firewall mangle
add action=mark-packet chain=forward disabled=no new-packet-mark="ICMP Packet" passthrough=no protocol=icmp


The simple queue rule:

Code:
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=0/0 name="No limit for ICMP" packet-marks=\
    "ICMP Packet" parent=none priority=8 queue=default-small/default-small total-queue=default-small


The "No limit for ICMP" queue is in position #0, all other dinamic simple queues are down this one.

Any idea?, I think I'm missing some stupid think, but I can't deal with it.

Regards,
Jack.


Top
 Profile  
 
eszaknet
 Post subject: Re: Simple Queue before dinamic simple queue
PostPosted: Wed Feb 08, 2012 9:54 pm 
Offline
just joined
User avatar

Joined: Tue Oct 18, 2011 10:56 pm
Posts: 18
Karma: 0
Hi,

Try to change the chain from forward to prerouting. I have an SMTP queue with a mangle rule and it works.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 2 posts ] 

Board index » RouterOS » General

All times are UTC + 2 hours


Who is online

Users browsing this forum: dany, mixig, xtrgeo and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Karma functions powered by Karma MOD © 2007, 2009 m157y