From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:36:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88BF316A4CF; Thu, 18 Mar 2004 08:36:30 -0800 (PST) Received: from u1030.c03.escapebox.net (gen045.n002.c03.escapebox.net [213.73.82.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32F3043D3F; Thu, 18 Mar 2004 08:36:30 -0800 (PST) (envelope-from francis@u1030.c03.escapebox.net) Received: from francis by u1030.c03.escapebox.net with local (Exim 3.36 #1) id 1B40VL-000F8F-00; Thu, 18 Mar 2004 17:36:23 +0100 Date: Thu, 18 Mar 2004 17:36:23 +0100 From: Francis GUDIN To: Luigi Rizzo Message-ID: <20040318163623.GA56866@u1030.c03.escapebox.net> References: <20040318105728.GA2470@u1030.c03.escapebox.net> <20040318080849.A40631@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040318080849.A40631@xorpc.icir.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-ipfw@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: dummynet and adsl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 16:36:30 -0000 On Thursday, 18 March 2004 at 8:08:49 -0800, Luigi Rizzo wrote : > On Thu, Mar 18, 2004 at 11:57:28AM +0100, Francis GUDIN wrote: > > Hello everybody, > > > > I'm in the process of setting up a bandwidth control with ipfw and > > dummynet. My connection is done through pppoe on adsl. > > > > In ipfw(8), i found the following: > > "If a device name is specified instead of a numeric value, as in > > > > ipfw pipe 1 config bw tun0 > > > > then the transmit clock is supplied by the specified device. At > > the moment only the tun(4) device supports this functionality, > > for use in conjunction with ppp(8)." > > > > Having two different bandwidth available (up- and downstream), would > > this option work ? Or, is only symetric bw case taken into account > > 'bw tun0' means that the pipe will transmit a new packet when > the device's (tun0 in this case) transmit queue becomes empty. > > In any case the question is irrelevant here because tun0's queue > is drained by the userland process reading from /dev/tun0 > and writing onto the output link. With a serial line and no > buffering you could hope that this matches the outbound > bandwidth, but with pppoe on adsl you basically see the > ethernet speed on transmission. > > cheers > luigi > Thank you ! Things are much clearer to me, now. Back to work ! BR, Francis.