Subject: Re: traffic shaping with NetBSD?
To: None <netbsd-users@netbsd.org>
From: Onno Ebbinge <onno.ebbinge@gmail.com>
List: netbsd-users
Date: 09/12/2005 10:30:39
I think you can also use pf in NetBSD 3. However, I don't know the
status of the import of pf from OpenBSD. (ALTQ is integrated in pf)

Regards,
Onno


On 9/10/05, Gilbert Fernandes <gilbert.fernandes@spamcop.net> wrote:
> > I can't find any documentation on traffic shaping with NetBSD.  I'm
> > using
> > ipfilter.
>=20
> You have to create an ALTQ configuration. It is linked to the
> interface you want to shape trafic.
>=20
> You first create a root class with all that interface bandwidth. Then
> you have two filters to add : one for SSH (by setting it to the port
> 22 that SSH uses) with, for example, a % of bandwidth reserved.
> Anything else will go into the "default" class that will get the rest
> of the bandwidth.
>=20
> Both will grab bandwidth from the root class that owns all the
> bandwidth for that interface.
>=20
> You have to read the ALTQ man page. It is a long page, and it might
> look complicated but it's not at all.
>=20
> If you are really lost, give us the name of your network interface and
> tell us how much bandwidth you want reserved for SSH. The
> configuration file for ALTQ will be less than 10 lines long so I'll
> give it to you, or someone else will show you how.
>=20
> ALTQ is great stuff :)
>=20
> --
> unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ;
> fsck ; umount ; sleep
>