Page 1 of 1

Excluding IP address ranges from queues

Posted: Wed Jul 25, 2007 9:42 pm
by heath
I have a queue that uses 192.168.0.0/16 as the target address for the LAN users. However, my firewall outside of the Mikrotik has an IP address of 192.168.168.168 (it's the gateway). How can I add something that won't shape the traffic going to this address coming from the LAN users?

Re: Excluding IP address ranges from queues

Posted: Wed Jul 25, 2007 10:55 pm
by dapsyra
Just create a new queue rule for target 192.168.168.168/32 with unlimited bandwidth. Place this new rule above the 192.168.0.0/16 rule.

/ queue simple
add name="gateway" target-addresses=192.168.168.168/32 dst-address=0.0.0.0/0 \
interface=all parent=none direction=both priority=8 \
queue=ethernet-default/ethernet-default limit-at=0/0 max-limit=0/0 \
total-queue=default-small disabled=no

Re: Excluding IP address ranges from queues

Posted: Wed Jul 25, 2007 11:24 pm
by heath
Ah, makes sense... although I'm not sure how I put this above another rule?

Re: Excluding IP address ranges from queues

Posted: Wed Jul 25, 2007 11:25 pm
by heath
Nevermind I figured it out, thanks.

Re: Excluding IP address ranges from queues

Posted: Wed Jul 25, 2007 11:26 pm
by skillful
drag and drop it where ever you want