Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2011 09:54:54 +0300
From:      Valentin Bud <valentin.bud@gmail.com>
To:        =?KOI8-R?B?98nUwczJyiD3zMHEyc3J0s/Xyd4=?= <artemrts@ukr.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: ALTQ with HFSC
Message-ID:  <CALb5eVa7ZPpU8GDVdG59bjAa-TRNy3PjDQVrXjed%2BjXx93EX1g@mail.gmail.com>
In-Reply-To: <12724.1319660195.16881837918041800704@ffe5.ukr.net>
References:  <12724.1319660195.16881837918041800704@ffe5.ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/10/26 =F7=C9=D4=C1=CC=C9=CA =F7=CC=C1=C4=C9=CD=C9=D2=CF=D7=C9=DE <arte=
mrts@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 se=
rv
> 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?
>

If you take into account priority 0 (to 255) you have a total of 256
priorities.


--=20
network warrior



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALb5eVa7ZPpU8GDVdG59bjAa-TRNy3PjDQVrXjed%2BjXx93EX1g>