This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello all!
I have the next config. Keep in mind that VLAN20 is the WAN and ISP is the bridge where my service VLANS live:
/ip firewall mangle
chain=prerouting action=mark-connection new-connection-mark=conn-30.30 passthrough=yes src-address=172.16.71.0/24
chain=prerouting action=mark-packet new-packet-mark=pack-30.30 passthrough=no connection-mark=conn-30.30
/queue type
name="DL_30M" kind=pcq pcq-rate=30M pcq-limit=50KiB pcq-classifier=dst-address pcq-total-limit=2000KiB 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=128 pcq-dst-address6-mask=128
name="UL_30M" kind=pcq pcq-rate=30M pcq-limit=50KiB pcq-classifier=src-address pcq-total-limit=2000KiB 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=128 pcq-dst-address6-mask=128
/queue tree
name="BAJADA" parent=ISP packet-mark="" limit-at=0 queue=default-small priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
name="SUBIDA" parent=VLAN 20 packet-mark="" limit-at=0 queue=default-small priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
name="BAJADA_30M" parent=BAJADA packet-mark=pack-30.30 limit-at=0 queue=default-small priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
name="SUBIDA_30M" parent=SUBIDA packet-mark=pack-30.30 limit-at=0 queue=UL_30M priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
I've done this config a lot of times in previous versions of RoS 6 and it worked perfectly. Now I'm using 7.10.2 and the limit works only in upload. Download keeps unlimited. Am I doing something wrong?
Thanks in advance.
=====EDIT====
Okay guys. I found something interesting. Maybe this is a bug?
I've been making a lot of tests to find out what is the problem so I can solve it.
I found that, when I'm downloading, Mangle rule Statistics only show a few kbps (even when downloading @ 50Mbps). So I thought: maybe I did something wrong in the mangle, but checked and checked again and everything is fine.
So I say: let sniff packets to see if maybe RoS7 handles this in other way.
I turn on packet sniffing, and inmediately, mangle statistics start to show the real traffic and queues start to work. I disable packet sniffing, statistics go back to few Kbps and queues stop limiting.
Here a few pics (while downloading from the client):
- Packet sniffer stopped:
Packet sniffer stopped -> Mangle shows no relevant traffic
- Packet sniffer running:
Packet sniffer running -> Mangle show real traffic and queues work both up and download.
Am I missing something or could this really be a bug?
Thanks.
Subreddit
Post Details
- Posted
- 11 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/mikrotik/co...