Hello.
I set up 2 traffic policies, one for incoming traffic (type limit) and other for outgoing traffic (type shaper). This last one is based on ports and is working fine and I can see the result with “bmon” and traffic being classified accordingly. I can also see the classes that were created with “tc class dev show dev ethxx” .
My first policy should be even easier to set, but it is not working as supposed to:
I have something like this:
limiter Limit-Incoming {
class 50 {
bandwidth 60mbps
burst 15k
match Downloads {
ip {
destination {
}
source {
port 443
}
}
}
priority 20
}
default {
bandwidth 40mbps
burst 15k
}
}
People work with huge datasets at this lab, so although I have a solution for uploads from the lab, the downloads seem to consume all available bandwidth.
This rule doesn’t show up in “tc class dev…” neither iptables. Was it supposed to?
Any ideas please?
Thanks for the reply!
100Mbps full duplex only.
Clients are mixed windows and linux. On my vyos:
net.core.default_qdisc=fq_codel
net.ipv4.tcp_congestion_control=cubic
Does that make any difference? Also, How can I see the applied policy for this?
On the shaper traffic-policy I can read with " tc class show dev ethX"
Working now.
mbit and not mbps (the switch is 100mbit per second (hence my mistake with mbps).
On a shaper traffic policy it was mbit and that made me think.
Nevertheless, I would like to be able to monitor in real time the application of this policy, as i do with “bmon” for my shaper policies. Ideas?
Thanks.
Hi. Yes, but the problem here was not related with capital “m”. It is the “mbit” vs “mbps” which I wrote in bold. Everything working now. Thanks anyway!