I’ve done this config a lot of times in previous versions of RoS 6. Now I’m using 7.10.2 and the limit works only in upload. Download is not limited. Am I doing something wrong?
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):
Without a complete config, it seems that you are only limiting traffic marked from LAN (with src address) going out to WAN in the prerouting chain. Please check pcunite’s thread for the correct way to mark all traffic so downloads are also limited. You can also con mark by interface - it’s less efficient because you have marks for in and marks for out, but it works
And why does it work perfectly when I enable packet sniffing? This is the way I’ve been using for years in ROs 6.4 and never had a problem.
Also, I tried the same config in CHR (same version), and it works without the need to start packet sniffing. Again: a bug? (I’ve tested in two hEX’s, version 7.12.1 and got same problem). Tomorrow I’ll test with RB110AHx4 and RB2011