Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2011 23:16:35 +0300
From:      =?WINDOWS-1251?B?wujy4Ovo6SDC6+Dk6Ozo8O7i6Pc=?= <artemrts@ukr.net>
To:        freebsd-pf@freebsd.org
Subject:   ALTQ with HFSC
Message-ID:  <12724.1319660195.16881837918041800704@ffe5.ukr.net>

next in thread | raw e-mail | index | archive | help

 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?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12724.1319660195.16881837918041800704>