Subject: Re: traffic shaping with NetBSD?
To: None <>
From: Gilbert Fernandes <>
List: netbsd-users
Date: 09/10/2005 13:32:27
> 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