Traffic shaping: De-Prioritize a single VLAN (Upload)

Started by felixjulian, February 15, 2025, 11:07:37 AM

Previous topic - Next topic
Hi everyone,

I have a rather simple setup, I thought. But I just can't get it right. I have a couple of VLANs on my OPNsense setup and it's all working fine. I get 1000Mbit down and 50Mbit up, as my ISP promised. Now, I have a couple of regular scripts which upload backups to an off-site NAS and similar tasks which easily saturate my upload bandwidth. That limits my browsing experience, when I am connected over VPN.

I have some very upload hungry tasks that I would like to de-prioritize on a separate VLAN (`10.0.3.0/24`). I thought, I could easily setup the traffic shaping of OPNsense to create an upload pipe and 2 queues - with weight 1 vs. 4 -, and finally just assign 2 rules to these queues - one for `10.0.3.0/24` and one for everything else.

I had imagined that would give 10Mbps to the `10.0.3.0/24` and 40Mbps to anything else, on a saturated pipe. But whenever I run 2 upload tasks (one from that VLAN and one from my regular LAN) they get weighted equally.

Attached are some screenshots of my traffic shaping setup.
The two rules are equal except for the inversion flag.

I think these filters do weight the download bandwidth correctly but I want it to shape the upload.

Found my issue, was dumb. The pipe and queues were not enabled. Works just as expected now.