From owner-freebsd-stable Mon Jul 23 5:36:52 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.shagged.org (rtfm.shagged.org [195.11.8.226]) by hub.freebsd.org (Postfix) with ESMTP id BF69A37B403 for ; Mon, 23 Jul 2001 05:36:48 -0700 (PDT) (envelope-from chris@shagged.org) Received: from chris by mail.shagged.org with local (Exim 3.31 #1) id 15Oex5-000CXP-00 for freebsd-stable@FreeBSD.ORG; Mon, 23 Jul 2001 13:36:47 +0100 Date: Mon, 23 Jul 2001 13:36:47 +0100 From: Chris Elsworth To: freebsd-stable@FreeBSD.ORG Subject: Re: ipfw, pipes, and weighting Message-ID: <20010723133647.A48130@shagged.org> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <20010723012459.A1197@shagged.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tom@uniserve.com on Sun, Jul 22, 2001 at 06:09:46PM -0700 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 On Sun, Jul 22, 2001 at 06:09:46PM -0700, Tom wrote: > > On Mon, 23 Jul 2001, Chris Elsworth wrote: > > > On Sun, Jul 22, 2001 at 05:20:14PM -0700, Tom wrote: > > > > > > On Sun, 22 Jul 2001, Chris Elsworth wrote: > > > > > > ... > > > > What doesn't work is the weighting itself. I saw absolutely no difference > > > > whether I had those rules in or not. > > > > > > What kind of network interface are you using? The way that you seem to > > > be configuring dummynet, is as custom priority queuing system. That is > > > only effective, if there are packets in the queue to sort by your > > > priorities. That will be most effective if you do that on the slowest > > > interface in the path. > > > > The machine in question is a gateway between a 100M LAN and a 1Mbit > > upstream line. Obviously I can't control stuff coming down the outside > > line, but I can control my outgoing bandwidth, so thats what I'm trying to > > do. The outside NIC is an fxp0, inside is rl0. I was assuming the way I > > did it, it would catch anything going between the two interfaces with the > > src/dst IP I specified? > > I'm assuming you have some kind of router or bridge connecting the > outside ethernet to the 1Mbps line. You should probably rate shape your > outbound bandwidth to 1Mbps, to allow your priorities to be effective. > Otherwise most of the queuing will occur on the router/bridge, or in the > WAN network itself. Ok, so using the rules I had before will work if I put a "bw 1Mbit/s" on the pipe config line? I'll try it tonight :) Cheers :) -- Chris Elsworth - Software & Systems Developer / Systems Administrator girls = time x money (and time is money) . chrise@demon.net = money^2 (money is root of all evil) . . tel: 020 8371 1041 = _/(evil^2) = evil t h u s mob: 07968 324 693 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message