From owner-freebsd-questions Mon Mar 27 4: 7:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cliff.i-plus.net (cliff.i-plus.net [209.100.20.42]) by hub.freebsd.org (Postfix) with ESMTP id 036D037BC81 for ; Mon, 27 Mar 2000 04:07:35 -0800 (PST) (envelope-from troy@picus.com) Received: from abyss (dhcp-05.dashit.net [209.100.22.254]) by cliff.i-plus.net (8.9.3/8.9.3) with SMTP id HAA12110; Mon, 27 Mar 2000 07:07:23 -0500 (EST) From: "Troy Settle" To: "Bhishan Hemrajani" , "Alfred Perlstein" Cc: Subject: RE: DUMMYNET limiting ONLY out bandwidth Date: Mon, 27 Mar 2000 07:01:59 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200003270218.SAA27123@cytosine.dhs.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How about: ipfw add 10000 pipe 1 ip from 192.168.10.1 to any ipfw pipe 1 config bw 56Kbit/s This will limit bandwidth coming *from* the host (could be a network), but will not catch packets going to the host (network). HTH, -Troy ** -----Original Message----- ** From: owner-freebsd-questions@FreeBSD.ORG ** [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Bhishan ** Hemrajani ** Sent: Sunday, March 26, 2000 9:18 PM ** To: Alfred Perlstein ** Cc: freebsd-questions@FreeBSD.ORG ** Subject: Re: DUMMYNET limiting ONLY out bandwidth ** ** ** 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 ** ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message