Dear Guys!
I have Mikrotik router with one port linked to public internet connection and other three ports linked to my networks.
On this router I have configured traffic shaping (not transparent) with mangle rules with packet-mark, and queue-tree.
All is working but I don’t understand why Avg Rate of queue “total down” is not equal of RX Rate of public internet ethernet port and why Avg Rate of queue “total up” is not equal of TX Rate of public internet ethernet port.
Sorry, but I don’t unerstand “try to add one more queue with parent=global-in and routing-mark=no-mark…”.
ether6 is interface direct connect to my xDSL router and I don’t use web proxy and NAT
Queue Avg rate of queue with packet-marks set is OK and it is equal to statistics rate of mangle rule, so I think taht problem is on queues that haven’t packet-marks set: is it possible?
Hi!
I have just tried to add queue with parent global-in, but also with parent global-out, and no-mark. Avg-rate is 0, so mangle-rules for mark packets are OK, and problem is on queue…
I check also, on statistics of total_queue and public ether, packets un bytes and they are different when instead I think they were equal: why?
I’ve had similar situation because of UDP traffic. Somebody was sending UDP traffic (probably a video, maybe video-phone) from my network with data rate bigger than it was allowed by my QoS limit. UDP doesn’t have flow control like TCP (or TCP window) and works like “best effort” to send - it means that packet are simply dropped if they are not deliverable and sender is not knowing about that, so he will not lower transmission speed. Queue is counting all data, because router has received them but are not on ethernet interface because they were not sent.
If it is possible, try to disable UDP for a while and see if this is the reason.
I had some strange traffic on my WAN port once. It was nearly constant 2 Mbps and was there also when there was no traffic on LAN. So there was more traffic on WAN interface than on LAN interface (and Queues). What about you? You have smaller traffic on Queues than on WAN interface. But is a traffic on LAN interface also smaller than on WAN interface? If it is so, check WAN connections. I’ve had disconnected my LAN (besides me), started tool “torch” and found some other Mikrotik on WAN interface that was badly configured and was still sending me data - it was other customer of my internet provider.
In other words - Not all packets that your router receives are getting to the queues. It is normal - customer network have lots of rubbish traffic that is received, but don’t get pass Ethernet also firewall might have some effect with all the drop rules.
I have smaller traffic on queue than on WAN interface (eth6), instead traffic on WAN interface is equal of traffic on LAN interface… so for me there is some problem on queue because also mangle traffic is equal of WAN and LAN traffic.
Hi guys!
And so why is there this big difference from queue average rate and ethernet or mangle rate?
In this moment (see image below) queue average rate is 66,6 Mb and current rate (ethernet and mangle) is about 80 Mbps.
On queue tree I set max limit of download queue at 66 Mbps, and so I think to see only 66 Mbps on ethernet RX rate and not 80 Mbps…
For me there is some problem on queue tree, or could you explain me why there is this difference?
Hi guys!
Sorry for delay…but I found my problem: some of my network address weren’t on address-list of firewall and so their traffic didn’t mark and didn’t went through queue.
So there was my problem on configuration of my traffic shape router.