Hi all,
little problem with pf, I'm using 3.4-stable. In setting up queues I wanted
to try the hfsc scheduler. Right now I've the queue defined this way:
altq on fxp1 cbq bandwidth 15Mb queue {def, rbi_out, mediast_out,
millecom_out}
queue def cbq(default)
queue rbi_out bandwidth 512Kb cbq
queue mediast_out bandwidth 256Kb cbq
queue millecom_out bandwidth 256Kb cbq
I thought I'd just have to change "cbq" with "hfsc" to make the change. But
that works only for the first two queues, i.e.:
altq on fxp1 hfsc bandwidth 15Mb queue {def}
queue def hfsc(default)
is fine:
altq on fxp1 hfsc bandwidth 15Mb queue {def, rbi_out}
queue def hfsc(default)
queue rbi_out bandwidth 512Kb hfsc
is stille fine, but:
altq on fxp1 hfsc bandwidth 15Mb queue {def, rbi_out, mediast_out}
queue def hfsc(default)
queue rbi_out bandwidth 512Kb hfsc
queue mediast_out bandwidth 256Kb hfsc
Gives me an error:
linkshare can't be greater than parent (I can't copy the exact message now,
but that's the meaning). What am I doing wrong?
Also, while testing it, I noted that you can declare a rule with a queue
that's not been defined. Probably at least a warning during ruleset
evaluation could me more appropriate?
Thanks!
]\/[arco