hello list,

i have a 30Kb link from the outside.
sometimes i use ssh, but it is rare.
i would like to setup cbq in a way
(maybe i dont even need cbq but only priq?)
that when i use ssh, make it higher priority
and reserve some bandwidth (e.g. 20%)
but still the others are not killed.

so far i have come up with this:

cvc# pfctl -s queue               
queue root_rl0 bandwidth 30Kb priority 0 cbq( wrr root ) {ssh, other}
queue  ssh bandwidth 6Kb priority 5 
queue  other bandwidth 30Kb priority 3 cbq( default ) 

or as in the pf.conf:

altq on $ext_if cbq bandwidth 30Kb queue { ssh, other }
queue other               priority 3 cbq(default)
queue   ssh bandwidth 20% priority 5 cbq

-f
-- 
black holes resulted when MS tried to beat a deadline!

Reply via email to