OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: truesword88 on December 28, 2022, 10:03:19 am

Title: Shaper rules not working as expected - when VLAN selected as secondary interface
Post by: truesword88 on December 28, 2022, 10:03:19 am
Hi all -

Having issues with the Shaper, in particular when using VLANs.
Under Firewall - Shaper - Rules I have a rule for one of my VLANS whereby I have selected WAN as the primary interface & (VLANx) as the secondary interface. I use this rule to catch traffic on this VLAN to give it certain priority - works well.

IF however, I setup an additional rule underneath this VLAN rule (next sequence number), and select WAN as the primary interface with nothing in the secondary - the two rules conflict and the shaper seems to share the bandwidth between the two rules. This rule is used as a 'catch all' for all other traffic - other than the VLAN in the previous rule.
 
The result is that the total throughput flow is reduced by a small margin.

To get around this, I deleted the vlan from Interface2 & used source/destination IP subnets that correspond to the VLAN - with this setup the rules/flows/traffic is spot on....


Any thoughts?