Community discussions

MikroTik App
 
heath
just joined
Topic Author
Posts: 21
Joined: Wed Jul 18, 2007 10:29 pm

Excluding IP address ranges from queues

Wed Jul 25, 2007 9:42 pm

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?
 
dapsyra
just joined
Posts: 7
Joined: Thu May 25, 2006 6:23 pm

Re: Excluding IP address ranges from queues

Wed Jul 25, 2007 10:55 pm

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
 
heath
just joined
Topic Author
Posts: 21
Joined: Wed Jul 18, 2007 10:29 pm

Re: Excluding IP address ranges from queues

Wed Jul 25, 2007 11:24 pm

Ah, makes sense... although I'm not sure how I put this above another rule?
 
heath
just joined
Topic Author
Posts: 21
Joined: Wed Jul 18, 2007 10:29 pm

Re: Excluding IP address ranges from queues

Wed Jul 25, 2007 11:25 pm

Nevermind I figured it out, thanks.
 
User avatar
skillful
Trainer
Trainer
Posts: 552
Joined: Wed Sep 06, 2006 1:42 pm
Location: Abuja, Nigeria
Contact:

Re: Excluding IP address ranges from queues

Wed Jul 25, 2007 11:26 pm

drag and drop it where ever you want