Re: ALTQ -- is anyone actually using it?

BERTRAND Joël <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Jason Thorpe a écrit :
> 
> 
>> On Nov 12, 2023, at 7:54 PM, Ryota Ozaki <[email protected]> wrote:
>>
>> On Sat, Nov 11, 2023 at 7:14 AM Jason Thorpe <[email protected]> wrote:
>>>
>>> Is anyone actually using ALTQ?  It's been disabled in GENERIC for a while now and hasn't seen any updates in years, AFAIK.
>>
>> We have used ALTQ/CBQ for many years in production systems
>> (with some tweaks for NET_MPSAFE recently).
> 
> What NIC driver?
> 
> (That goes for everyone using it, please!  Information required!  Thx!)

	In my case : re/wm/lagg (out of the box). altq is used to do QoS for
VoIP and jitsi on lagg0/re0 and for domain on wm2.

legendre:[~] > cat /etc/altq.conf
interface wm2 bandwidth 1000M priq

class priq wm2 high_class NULL priority 1
class priq wm2 low_class NULL priority 0 default

filter wm2 high_class 0 53 0 0 17
filter wm2 high_class 0 53 0 0 6

interface re0 bandwidth 1000M priq

class priq re0 high_class_dmz NULL priority 1
class priq re0 low_class_dmz NULL priority 0 default

filter re0 high_class_dmz 192.168.10.250 0 0 0 17
filter re0 high_class_dmz 0 0 192.168.10.250 0 17
filter re0 high_class_dmz 192.168.10.253 0 0 0 17
filter re0 high_class_dmz 0 0 192.168.10.253 0 17
filter re0 high_class_dmz 0 10000 0 0 17
filter re0 high_class_dmz 0 0 0 10000 17

interface lagg0 bandwidth 2000M priq

class priq lagg0 high_class_lan NULL priority 1
class priq lagg0 low_class_lan NULL priority 0 default

filter lagg0 high_class_lan 192.168.10.250 0 0 0 17
filter lagg0 high_class_lan 0 0 192.168.10.250 0 17
filter lagg0 high_class_lan 192.168.10.253 0 0 0 17
filter lagg0 high_class_lan 0 0 192.168.10.253 0 17
filter lagg0 high_class_lan 0 10000 0 0 17
filter lagg0 high_class_lan 0 0 0 10000 17

# QoS
conditioner lagg0 af41_agr0 <mark 0xb8>
filter lagg0 af41_agr0 0 10000 0 0 17
filter lagg0 af41_agr0 0 0 0 10000 17
filter lagg0 af41_agr0 0 0 192.168.10.250 0 17
filter lagg0 af41_agr0 0 0 192.168.10.253 0 17

conditioner re0 af41_tap0 <mark 0xb8>
filter re0 af41_tap0 0 0 192.168.10.250 0 17
filter re0 af41_tap0 0 0 192.168.10.253 0 17
filter re0 af41_tap0 0 10000 0 0 17
filter re0 af41_tap0 0 0 0 10000 17

	Regards,

	JB
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQj8MW8iOsC2RXEznnFW/s/mMLXCAUCZVYiVQAKCRDFW/s/mMLX
CEmIAQCwWo/g2SHxnw7kh1w7HoKnOrLk+t0sPVm1uTD5KMiKngEAiEaJdpFpy/q1
9A8vYxTMaxB/goOUWbltsBK1bz+Etg8=
=UPFS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.