From owner-freebsd-questions Wed Mar 31 10:33:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wolf.com (ns1.wolf.com [207.137.58.20]) by hub.freebsd.org (Postfix) with ESMTP id D266E152F3 for ; Wed, 31 Mar 1999 10:33:13 -0800 (PST) (envelope-from dan@wolf.com) Received: (from dan@localhost) by wolf.com (8.9.1/8.9.1) id KAA26763 for freebsd-questions@freebsd.org; Wed, 31 Mar 1999 10:35:08 -0800 Message-ID: <19990331103508.B26699@ns.wolf.com> Date: Wed, 31 Mar 1999 10:35:08 -0800 From: dan@wolf.com To: freebsd-questions@freebsd.org Subject: Question re. dummynet usage Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to use dummynet on my FreeBSD 2.2.8 system to limit ftp bandwidth usage. I've compiled a kernel with: options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT options DUMMYNET I'm defining a pipe with: ipfw pipe 1 config bw 64 Kbit/s and trying to turn it on with: ipfw add pipe 1 ip from any port 20 to my.ip.address ipfw add pipe 1 ip from any port 21 to my.ip.address but ipfw gives me it's usage message when I enter the last 2 lines. I assume I'm either forgetting an important step or I misunderstand something important. Could anyone point out the errors of my ways? -- dan@wolf.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message