Bug #1193
closedTraffic Shaper default queue Problem
100%
Description
As reported here a bug in traffic shaper:
When 2 or more queues are selected as default queue, you get a
There were error(s) loading the rules: pfctl: should have one default queue on pppoe0pfctl: errors in altq config The line in question reads [ should have one default queue on pppoe0pfctl]:
Better would be a control to avoid this.
Updated by Ermal Luçi over 13 years ago
- Status changed from New to Feedback
Plese test latest snapshots.
Updated by Josh Stompro over 13 years ago
Testing 2.0-RC3 I386 Built on Mon Aug 8 19:26:45 EDT 2011 nanobsd 2g
The logic to not show the default queue checkbox only looks at queues at the same level. With the current logic of having qLink and qInternet at the same level, when qLink is set to the default, no default checkbox is shown for qInternet, but it is shown for children of qInternet. I can check the default checkbox on qInternet->qP2P, and the system does not complain about it. The lower level default queue seems to take precedence. This may just be how it is supposed to work.
altq on vr1_vlan1 hfsc queue { qLink, qInternet } queue qLink on vr1_vlan1 bandwidth 20% qlimit 500 hfsc ( ecn , default ) queue qInternet on vr1_vlan1 bandwidth 2500Kb hfsc ( ecn , linkshare 2500Kb , upperlimit 2500Kb ) { qACK, qP2P, qOthersHigh, qOthersLow } queue qACK on vr1_vlan1 bandwidth 20% hfsc ( ecn , linkshare 20% ) queue qP2P on vr1_vlan1 bandwidth 5% hfsc ( ecn , default , linkshare 5% , upperlimit 5% ) queue qOthersHigh on vr1_vlan1 bandwidth 10% hfsc ( ecn , linkshare 10% ) queue qOthersLow on vr1_vlan1 bandwidth 5% hfsc ( ecn , linkshare 5% )
If this is how it should work then I think this ticket may be resolved.
Josh
Updated by Ermal Luçi over 13 years ago
- % Done changed from 0 to 100
Applied in changeset f61dc8e6d638949866fdcb61c05c9d5905a48a80.
Updated by Ermal Luçi over 13 years ago
Applied in changeset 401869ec326193cac13fbe4b6e2c8c879039445a.
Updated by Chris Buechler over 13 years ago
- Status changed from Feedback to Resolved