Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 07:01:59 -0500
From:      "Troy Settle" <troy@picus.com>
To:        "Bhishan Hemrajani" <bhishan@cytosine.dhs.org>, "Alfred Perlstein" <bright@wintelcom.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: DUMMYNET limiting ONLY out bandwidth
Message-ID:  <NDBBLGJECLNPOOFNABJCAEBCCAAA.troy@picus.com>
In-Reply-To: <200003270218.SAA27123@cytosine.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <bhishan@cytosine.dhs.org> [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




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