From owner-freebsd-questions Sun Mar 26 18:18:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id EB0EB37BA7B for ; Sun, 26 Mar 2000 18:18:21 -0800 (PST) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.9.3/8.9.3) id SAA27123; Sun, 26 Mar 2000 18:18:19 -0800 (PST) (envelope-from bhishan) From: Bhishan Hemrajani Message-Id: <200003270218.SAA27123@cytosine.dhs.org> Subject: Re: DUMMYNET limiting ONLY out bandwidth In-Reply-To: <20000326181616.X21029@fw.wintelcom.net> from Alfred Perlstein at "Mar 26, 2000 06:16:16 pm" To: Alfred Perlstein Date: Sun, 26 Mar 2000 18:18:19 -0800 (PST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm not quite sure on how to do this. This is what I use to limit the bandwidth: # /sbin/ipfw add 10000 pipe 1 ip from any to any out # /sbin/ipfw pipe 1 config bw 56Kbit/s Is that right? If I add "xmit de1" to the first line, it gives me the error: ipfw: error: can't check xmit interface of incoming packets And then prints out the usage of ipfw. Please help. --bhishan > * Bhishan Hemrajani [000326 17:12] wrote: > > Is there any way to only limit outgoing bandwidth? > > > > (ie: have fast download speeds, but slow upload speeds) > > > > I use DUMMYNET, but, it limits the whole connection > > instead of just upload. > > It shouldn't if you use ipfw's keywords recv/xmit to specify the > direction of the traffic. > > -Alfred > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message