From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert ahu@ds9a.nl Date: Fri, 02 Feb 2001 16:47:53 +0000 Subject: [LARTC] TBF settings Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
On Fri, Feb 02, 2001 at 08:38:21AM -0800, Jean-Francois Lemieux wrote:

> tc qdisc add dev eth0 parent 1:100 tbf buffer000/8 LIMIT0000 MTU00
> 
> parent class is a cbq with rate8Kbit
> 
> when I want to add PEAK, I get always RTNETLINK error: Invalid argument. Maybe be I don't understand this parameter. What I know about it, it's that it can control short-term burst traffic, and it's what I need to do.

If I remember correctly, you can't 'overspecify' the tbf. So either you set
peak, or you set limit/buffer.

But my recollection is very hazy about this.

Regards,

bert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet