Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 11:41:40 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        haribeau@gmx.de (Clemens Hermann)
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: dummynet has no effect
Message-ID:  <200101181941.f0IJfe466702@iguana.aciri.org>
In-Reply-To: <20010118213830.A2940@ramses.local> from Clemens Hermann at "Jan 18, 2001  9:38:30 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




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