Bug #5325
closedTraffic shaping wizard creates an unloadable rule-set if using HFSC on a LAN interface that is not up when the rules are loaded.
0%
Description
If you choose HFSC in the wizard (multiwan/multilan) on a LAN interface that is not connected when the wizard completes or is later disconnected when the rules-set is loaded it will fail to load. The filter reload that is triggered after the wizard reports done but if you manually re-load the rules you will see the error:
$ pfctl -f /tmp/rules.debug
bandwidth for qInternet higher than interface
/tmp/rules.debug:63: errors in queue definition
Where the bad line is in the disconnected interface.
This appears to be beacause the reported bandwidth of that inbterface is 0 when down.
Setting the bandwidth of the root queue on that interface to, say, 1Gbps worksaround this.
See attached files for an example.
Files
Updated by Viktor Gurov almost 4 years ago
- Status changed from New to Closed
no such issue on the current 2.4.5 or 2.5,
WAN 'download' value from the wizard step2 is used to calculate bandwidth of the LAN interface:
https://github.com/pfsense/pfsense/blob/1090b1b631930d3fd577702e8b5e66deef06fbf4/src/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc#L1149-L1154