I would probably mangle the traffic (packet mark) with source OR destination of 10.2.1.119 and then have the queues look at the packet mark.

On 11/30/2011 2:04 PM, Craig Baird wrote:
I have some EoIP tunnels that pass through a router that has some simple queues for bandwidth control. I don't want the EoIP tunnels to get throttled, but I have a fall-through simple queue that basically is supposed to catch everything that doesn't have an explicit rule and throttle it to 1 Mbps/256 Kbps. So, to get around this, I set up a specific simple queue for the EoIP tunnels, hoping to keep it from getting throttled. But it's not behaving the way I would expect. Can someone look at the following simple queues and tell me why this works:

 0    name="eoip" target-addresses=10.2.1.119/32,10.1.1.100/32
      dst-address=0.0.0.0/0 interface=all parent=none direction=both
      priority=2 queue=exempt/exempt limit-at=0/0 max-limit=0/0
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default-small

30    name="default" target-addresses=10.0.0.0/8
      dst-address=0.0.0.0/0 interface=all parent=none direction=both
      priority=7 queue=pcq_upload/pcq_download limit-at=0/0 max-limit=0/0
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default

But this doesn't:

 0    name="eoip" target-addresses=10.2.1.119/32
      dst-address=0.0.0.0/0 interface=all parent=none direction=both
      priority=2 queue=exempt/exempt limit-at=0/0 max-limit=0/0
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default-small

30    name="default" target-addresses=10.0.0.0/8
      dst-address=0.0.0.0/0 interface=all parent=none direction=both
      priority=7 queue=pcq_upload/pcq_download limit-at=0/0 max-limit=0/0
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default

The only difference between the two is in the first example, in rule 0, I list both EoIP endpoints as targets. This seems to work fine. The EoIP tunnel with the two endpoints I specify hits rule 0, and it goes through without being throttled. However, if I only list one endpoint, as in the second example, it falls through to rule 30 and get's throttled to 1 Mbps/256 Kbps.

The reason it matters is I have multiple EoIP tunnels going through this router. They all have 10.2.1.119 as a common endpoint, but they have different endpoints at the other side. I was hoping to be able to simply set up a single rule applying to 10.2.1.119, and that all the tunnels would hit it. That way, I wouldn't have to set up another simple queue every time we establish another tunnel.

Any ideas?

Craig



_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1872 / Virus Database: 2102/4648 - Release Date: 11/30/11



--
Scott Reed
Owner
NewWays Networking, LLC
Wireless Networking
Network Design, Installation and Administration



Mikrotik Advanced Certified

www.nwwnet.net
(765) 855-1060
(765) 439-4253
(855) 231-6239


_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to