Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 18:19:05 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        abdul <freebsd@citizensbankng.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dummynet/Traffic Shaping problem
Message-ID:  <3ECAA9D9.1020602@mac.com>
In-Reply-To: <003701c31ee8$ea1c1220$ea640180@abdul>
References:  <003701c31ee8$ea1c1220$ea640180@abdul>

next in thread | previous in thread | raw e-mail | index | archive | help
abdul wrote:
[ ... ]
> ipfw pipe 10 config bw 64kbit/s queue 15kbytes
> ipfw queue 10 config weight 60 pipe 10
> ipfw queue 10 ip from any to 193.114.79.76
> 
> I did not notice any change.
> Is this configuration okay for my problem? Or can anyone help me with a
> better one?

You also need to configure a pipe and queue for the rest of the traffic 
with its own BW limitation of 64k.  Something like:

ipfw pipe 20 config bw 64k
ipfw queue 20 config weight 10 pipe 20
ipfw queue 20 ip from any to any

Or you could instead use one pipe of BW 128, and add the two queues at 
different weights, according to how much you want to favor one versus 
the other.

-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ECAA9D9.1020602>