FreeBSD Traffic Shaping

Mel fbsd.questions at
Wed Apr 2 11:32:22 UTC 2008

On Wednesday 02 April 2008 09:27:21 freebsd at wrote:
> I gave port 80 as an example but I need this configuration for
> limiting other services as well.
> If you have a 100mbps connection and only one client, you want him to
> only use 50kbps, not the full pipe. If you have 200 clients, they
> still get 50kbps each.
> Is this feature that I need so complicated that it can't be
> implemented easily into FreeBSD or is it that not many people need it
> ? It sounds quite useful to me :)

It isn't as useful as you think. I can easily generate 200 clients being only 
one person. That's why the focus in bandwidth shapers lies on the type of 
traffic and the origin/destination rather then the state and they divide the 
bandwidth within those pipes between the states.
Secondly - bit besides the point, but not many people think about it - if you 
have 100% available and limit a single person to 5%, you're more likely to 
end up at the 100%, simply because it takes more time for that person to get 
what he wants.
So if there's no financial/legal issues involved, it's better to get rid of 
the clients as fast as possible.


Problem with today's modular software: they start with the modules
    and never get to the software part.

More information about the freebsd-questions mailing list