Community discussions

MikroTik App
 
bronco1980
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Wed Jul 22, 2009 5:02 pm

Please Colleagues help me with this.

Tue Dec 13, 2016 10:25 am

Please guys how can i bypass the queue here?
Media Server Address: 192.168.100.2/28

I have made this settings and couldn't resolve it!

ip firewall mangle:
chain=prerouting action=mark-connection
new-connection-mark=ipmarkconnection passthrough=yes
dst-address=192.168.100.0/28 log=no log-prefix=""

chain=prerouting action=mark-packet new-packet-mark=ipmarkpacket
passthrough=no log=no log-prefix=""

queue simple:
name="MediaServer" target="" parent=none packet-marks=ipmarkpacket priority=8/8
queue=IPSPEED/IPSPEED limit-at=0/0 max-limit=0/0 burst-limit=0/0
burst-threshold=0/0 burst-time=0s/0s

queue type:
name="IPSPEED" kind=pcq pcq-rate=1G pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2k pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
You do not have the required permissions to view the files attached to this post.
 
User avatar
pukkita
Trainer
Trainer
Posts: 3051
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: Please Colleagues help me with this.

Tue Dec 13, 2016 3:41 pm

You may add an address-list
add address=192.168.100.2 comment="MediaServer" list=CustomerQueueBypass
Then modify the mangle rule so that it uses it:
/ip firewall mangle
add chain=prerouting action=mark-connection new-connection-mark=ipmarkconnection passthrough=yes
dst-address=192.168.100.0/28 dst-address-list=!CustomerQueueBypass log=no log-prefix=""