From owner-freebsd-net Thu Jan 18 11:42: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id DB4BC37B400 for ; Thu, 18 Jan 2001 11:41:43 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f0IJfe466702; Thu, 18 Jan 2001 11:41:40 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200101181941.f0IJfe466702@iguana.aciri.org> Subject: Re: dummynet has no effect In-Reply-To: <20010118213830.A2940@ramses.local> from Clemens Hermann at "Jan 18, 2001 9:38:30 pm" To: haribeau@gmx.de (Clemens Hermann) Date: Thu, 18 Jan 2001 11:41:40 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org KB stands for kbytes not bits. "ipfw pipe show" should tell you what is going wrong luigi > > I want to limit the bandwith for each IP accessing my computer to > 128KBit/s (2*ISDN). So I added the following rules to ipfw: > > ipfw add pipe 1 ip from any to any > ipfw add pipe 2 tcp from any to any > ipfw add pipe 3 udp from any to any > ipfw add pipe 4 icmp from any to any > ipfw pipe 1 config bw 128KBit/s queue 10 > ipfw pipe 2 config bw 128KBit/s queue 10 > ipfw pipe 3 config bw 128KBit/s queue 10 > ipfw pipe 4 config bw 128KBit/s queue 10 > > if I make "ipfw list" I can see the four pipes. But If I download > something to the server I get *much* more bandwith than 128 KBit/s. It is > the same as without the pipes. Did I miss anything? > > Thanks in advance for any hints > > /ch > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message