I have been trying to get something working properly with Queues but seem to be unable to achieve the desired goal without limiting throughput to a lower level all the time.
I have satellite uplink with traffic policers on the circuit that drop everything exceeds 5Mbps. The problem I'm having is getting queuing to limit the traffic below 5Mbps without having it constantly exceed 5Mbps on the interface. All traffic is being accounted for but the queue shows a lower level then the actual interface. I setup traffic monitoring to alert me if it exceeds 5Mbps. Currently the only way I can keep it from exceeding the limit is to limit it 2.8Mbps or so. It's an dedicated PTP satellite connection for delivering Internet service. I have tried many combinations trying to get the queue to catch and properly manage all the traffic have failed. I have every possible IP accounted for in the rule that is catching the traffic. I also have a few public IP addresses that I removed from the post. They account for all the IP addresses used across this connection. Does someone already have an example using PCQ that properly limits upload?
Had the wrong rule posted before. This is the 5Mbps upload side.
/queue simple comment="Whole Network Traffic Queue" limit-at=384k/0 max-limit=2400k/250M name=EVERYONE queue="DOWNLOAD IP/default-small" target=10.0.0.0/8,63.140.126.68/30,63.140.126.72/30,63.140.126.80/28,172.16.0.0/12,192.168.0.0/16
add kind=pcq name="DOWNLOAD PORTS" pcq-classifier=dst-address,dst-port pcq-dst-address-mask=24 pcq-limit=30KiB pcq-total-limit=50000KiB.. Each class C is a different customer.
I have been trying a variety of ways to try and get it to properly enforce the upload with no success yet.
Thanks,
- Dan