From owner-freebsd-isp@FreeBSD.ORG Sun Apr 13 15:02:13 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 5EB1C37B401 for ; Sun, 13 Apr 2003 15:02:13 -0700 (PDT) Received: from kurdistan.ath.cx (adsl-64-169-155-173.dsl.chic01.pacbell.net [64.169.155.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61A0E43F3F for ; Sun, 13 Apr 2003 15:02:12 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: from kurdistan.ath.cx (ns1 [127.0.0.1]) by kurdistan.ath.cx (8.12.8/8.12.6) with ESMTP id h3DM2704047122 for ; Sun, 13 Apr 2003 15:02:12 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: (from sereciya@localhost) by kurdistan.ath.cx (8.12.8/8.12.6/Submit) id h3DM22mM047121 for freebsd-isp@freebsd.org; Sun, 13 Apr 2003 15:02:02 -0700 (PDT) Date: Sun, 13 Apr 2003 15:02:02 -0700 From: =?unknown-8bit?Q?S=EAr=EAciya_Kurdistan=EE?= To: freebsd-isp@freebsd.org Message-ID: <20030413220202.GC44865@kurdistan.ath.cx> References: <20030413233019.S65387-100000@amour.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030413233019.S65387-100000@amour.ath.cx> User-Agent: Mutt/1.4i Subject: Re: "pipe sharing program", something like cbq 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: Sun, 13 Apr 2003 22:02:13 -0000 Hello, Cross-posting is frowned upon, please don't do it! > I'm looking a program that can do the following stuff: > > If I have 5 clients, each of them with 64k pipe and all of them share a > 256k pipe. And at a certain time some of the clients are using their full > 64k capacity and the others are using not pretty much (like just browsing > sites or just idling), so the program should notice that and get some from > the 64k pipe of each idler and share it through the rest of active users. I'm not sure what you mean, but you'll need to use ipfw + dummynet. A sample configuration would be: ipfw pipe 1 config bw 64Kbit/s noerror ...or... depends on what "k" you mean ipfw pipe 1 config bw 64Kbyte/s noerror ipfw pipe 2 config bw 64Kbyte/s noerror ... ipfw add pipe 1 host1 to any ipfw add pipe 2 host2 to any ... ... Hope that helps. -- +--------------------------------------------------------------+ | Welat xwe ava nake, dest bidin hevdu, pist nedin tu dijminî | | Riya azadiyê ne hêsan e, hêviya xwe bernedin, dema me | | nêzîk e. | | | | Hevaltî bi kesên du rû nekin, hevaltî bi hevdu ra bikin | | Ne ji hevaltiya wan kesên pêxwas û rû dirêj, ne bi wan | | kesên xwînperest, ne jî ji yên din. | | | | -$êrêciya Kurdistanî | +--------------------------------------------------------------+ translation provided on request: sereciya@kurdistan.ath.cx