From owner-freebsd-isp@FreeBSD.ORG Thu Jun 26 10:46:58 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D4C037B401 for ; Thu, 26 Jun 2003 10:46:58 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4849643FDD for ; Thu, 26 Jun 2003 10:46:57 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Jun 2003 13:46:53 -0400 Message-ID: From: Don Bowman To: 'Troy Settle' , freebsd-isp@freebsd.org Date: Thu, 26 Jun 2003 13:46:53 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: IFPW/DUMMYNET X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2003 17:46:58 -0000 From: Troy Settle [mailto:troy@psknet.com] > I need a quick and dirty way to limit every IP on their > network (10.x.x.0/24 > & a /28 of real addresses) to 384k of bandwidth. ipfw pipe 2 config bw 384Kbit/s mask src-ip 0xffffffff queue 8Kbytes gred 0.002/4500/7500/0.1 ipfw add 60 pipe 2 ip from any to any recv em0 or something like that will do what you want. You might want two pipes, one each way. The mask on the src-ip (or dst-ip in the other dir) will create the rule as needed. --don