Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2000 18:18:19 -0800 (PST)
From:      Bhishan Hemrajani <bhishan@cytosine.dhs.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DUMMYNET limiting ONLY out bandwidth
Message-ID:  <200003270218.SAA27123@cytosine.dhs.org>
In-Reply-To: <20000326181616.X21029@fw.wintelcom.net> from Alfred Perlstein at "Mar 26, 2000 06:16:16 pm"

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




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