From owner-freebsd-ipfw@FreeBSD.ORG Thu May 15 10:15:56 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C224037B401 for ; Thu, 15 May 2003 10:15:56 -0700 (PDT) Received: from cv.org (cv.org [66.111.39.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 6920343F75 for ; Thu, 15 May 2003 10:15:56 -0700 (PDT) (envelope-from mrkocol@cv.org) Received: (qmail 10262 invoked by uid 48); 15 May 2003 16:18:44 -0000 Received: from 216.20.255.203 (SquirrelMail authenticated user mrkocol) by mail.cv.org with HTTP; Thu, 15 May 2003 09:18:44 -0700 (PDT) Message-ID: <51222.216.20.255.203.1053015524.squirrel@mail.cv.org> Date: Thu, 15 May 2003 09:18:44 -0700 (PDT) From: "Jason Kocol" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: ipfw + dummynet: bandwidth limiting not working X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 17:15:57 -0000 I am running FreeBSD 4.8 STABLE and am trying to use dummynet with ipfw to limit bandwidth on my DSL connection. I have added the rules for dummynet to my existing firewall rules in rc.firewall (which are pretty open as you can see) in the last two lines below: ipfw -f flush ipfw add divert natd all from any to any via vx0 ipfw add pass all from any to any ipfw pipe 1 config bw 128K ipfw add pipe 1 tcp from x.x.x.x to any (x.x.x.x being my public IP address, and vx0 in line 2 being the interface for this address) By those last two lines I would expect the outbound/inbound traffic to be limited to 128Kbps, yet I am still able to transfer data at my normal broadband speeds (1.5Mb/768Kb). Anyone have any idea why this is not working the way I'd expect it to? Thanks, -Jason