From owner-freebsd-stable Wed Aug 28 5:49:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCBEF37B400 for ; Wed, 28 Aug 2002 05:49:13 -0700 (PDT) Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DFBE43E7B for ; Wed, 28 Aug 2002 05:49:13 -0700 (PDT) (envelope-from greg.panula@dolaninformation.com) Received: (qmail 28910 invoked by uid 0); 28 Aug 2002 12:49:12 -0000 Received: from greg.panula@dolaninformation.com by proxy with qmail-scanner-0.96 (. Clean. Processed in 0.371711 secs); 28 Aug 2002 12:49:12 -0000 X-Qmail-Scanner-Mail-From: greg.panula@dolaninformation.com via proxy X-Qmail-Scanner-Rcpt-To: sten@wan.no,freebsd-stable@freebsd.org X-Qmail-Scanner: 0.96 (No viruses found. Processed in 0.371711 secs) Received: from unknown (HELO mail.dolanmedia.com) (10.1.1.23) by host185.dolanmedia.com with SMTP; 28 Aug 2002 12:49:11 -0000 Received: from dolaninformation.com (10.1.1.135) by mail.dolanmedia.com (Worldmail 1.3.167); 28 Aug 2002 07:49:11 -0500 Message-ID: <3D6CC6C7.C9755E07@dolaninformation.com> Date: Wed, 28 Aug 2002 07:49:11 -0500 From: Greg Panula Reply-To: greg.panula@dolaninformation.com Organization: Dolan Information Center Inc X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Sten Daniel =?iso-8859-1?Q?S=F8rsdal?= Cc: freebsd-stable@freebsd.org Subject: Re: IPFW/dummynet/ppp bw device question References: <55523182176.20020828105810@wan.no> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Sten Daniel S=F8rsdal" wrote: > = > Hello > = > I took a look at the documentation for IPFW and under the dummnet > section it is mentioned that the 'bw' parameter can be given a > device for use with ppp(8), however i have failed finding any > information on this. What i am looking into is to setup pipes for > each dial-in user (for QoS/shaping). > And I was kind of hoping this was something i could control in ppp > without having to reinsert new rules every time a user logged in. > = > Anyone ever used this feature or know anything about it? > = Awww, dial-up is such low bandwidth why bother further limiting the user's available bandwidth? ;) You could do general shaping for specific services(e.g. http) by using pipes on the lan attached nic. Something like: ipfw add 1000 pipe 80 tcp from to any 80 out via For individual ppp users/connections the options are probably(I haven't done any of this): 1) assign general traffic shaping pipe to ppp interfaces by specifying the interface with the firewall rule (e.g. ipfw add 1000 pipe 100 ip from any to any via ppp0) 2) assign static addresses to the users and adjust rules as needed 3) dynamically add&remove rules... I'll guess as part of ppplogin script I'm not sure there is much value in applying traffic shaping rules/pipes to individual ppp interfaces. The total available bandwidth for each ppp connection is pretty low and it is already dedicated to just that one user anyways. Good luck, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message