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
Mikrotik@mail.butchevans.com
http://www.butchevans.com/mailman/listinfo/mikrotik

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

Reply via email to