Subject: Re: traffic shaping with NetBSD?
To: None <>
From: Onno Ebbinge <>
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)


On 9/10/05, Gilbert Fernandes <> wrote:
> > I can't find any documentation on traffic shaping with NetBSD.  I'm
> > using
> > ipfilter.
> You have to create an ALTQ configuration. It is linked to the
> interface you want to shape trafic.
> 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.
> Both will grab bandwidth from the root class that owns all the
> bandwidth for that interface.
> You have to read the ALTQ man page. It is a long page, and it might
> look complicated but it's not at all.
> 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.
> ALTQ is great stuff :)
> --
> unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ;
> fsck ; umount ; sleep