ALTQ with HFSC

Ermal Luçi eri at freebsd.org
Fri Oct 28 13:13:21 UTC 2011


2011/10/26 Виталий Владимирович <artemrts at ukr.net>:
>
>  Recently I worked around traffic prioritization of my router (FreeBSD9-BETA3). I would like to prioritization traffic coming from external interface and coming from internal LAN.
>
> ## ALTQ
>
> altq on $ext_if hfsc bandwidth 800Kb qlimit 500 queue {std lan lan_ack serv serv_ack}
> queue std bandwidth 100Kb priority 2 hfsc(default ecn)
>
> queue lan bandwidth 100Kb priority 5 hfsc(realtime 100Kb)
> queue lan_ack bandwidth 300Kb priority 10 hfsc(realtime 200Kb)
>
> queue serv bandwidth 200Kb priority 4 hfsc(realtime 200Kb)
> queue serv_ack bandwidth 100Kb priority 256 hfsc(realtime 50Kb)
>
> ./pf.conf:58: priority out of range: max 255
> pfctl: Syntax error in config file: pf rules not loaded
>
> Does HFSC support up to 255 priorities?
>
The man page details the maximum for hfsc.

Though just a general comment here,
on ALTQ HFSC scheduler priority is not respected and only the
bandiwidth values really have a meaning.



>
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>



-- 
Ermal


More information about the freebsd-pf mailing list