Community discussions

MikroTik App
 
1littlewisp
newbie
Topic Author
Posts: 36
Joined: Wed Jun 10, 2009 6:23 pm

traffic identification for queue misbehaving

Fri Feb 10, 2012 7:03 pm

So I've got this router...

It sits at (let's say) 192.168.100.230. We have assigned a block to them of 192.168.100.80/29. I'm trying to build a single queue which encompasses all traffic flowing from that customer's location. The solution I had devised to accomplish this was to mark packets with mangle and queue based on the packet mark.

Here's what the mangle rules look like:
/ip firewall mangle
add action=mark-connection chain=prerouting disabled=no new-connection-mark=\
    cust_conn passthrough=yes src-address=192.168.100.230
add action=mark-connection chain=prerouting disabled=no dst-address=\
    192.168.100.230 new-connection-mark=cust_conn passthrough=yes
add action=mark-connection chain=prerouting disabled=no new-connection-mark=\
    cust_conn passthrough=yes src-address=192.168.100.80/29
add action=mark-connection chain=prerouting disabled=no dst-address=\
    192.168.100.80/29 new-connection-mark=cust_conn passthrough=yes
add action=mark-packet chain=prerouting connection-mark=cust_conn disabled=no \
    new-packet-mark=cust_pkt passthrough=no
I just threw in a simple queue to limit all traffic marked with "cust_pkt" to 20M up and 20M down. The queue is getting hit, but the Rx Avg. Rate and Tx Avg Rate are identical. I can't figure out what the logic is behind this and where my flaw lies. Any ideas?
 
1littlewisp
newbie
Topic Author
Posts: 36
Joined: Wed Jun 10, 2009 6:23 pm

Re: traffic identification for queue misbehaving

Thu Feb 16, 2012 12:18 am

i can haz reply?

Who is online

Users browsing this forum: holla29, Majestic-12 [Bot], markinhusxp, noyo, Ramirocuei and 197 guests