From owner-freebsd-stable@FreeBSD.ORG Tue Nov 8 01:36:48 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 57CEC16A420; Tue, 8 Nov 2005 01:36:48 +0000 (GMT) (envelope-from green@green.homeunix.org) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.4/8.13.1) with ESMTP id jA81alwR087925; Mon, 7 Nov 2005 20:36:47 -0500 (EST) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.4/8.13.1/Submit) id jA81ajlC087924; Mon, 7 Nov 2005 20:36:45 -0500 (EST) (envelope-from green) Date: Mon, 7 Nov 2005 20:36:45 -0500 From: Brian Fundakowski Feldman To: Marko Cuk Message-ID: <20051108013645.GE37350@green.homeunix.org> References: <436FDC90.3020108@cuk.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <436FDC90.3020108@cuk.nu> User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org, freebsd-pf@freebsd.org Subject: Re: Tun and ALTQ X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 01:36:48 -0000 On Tue, Nov 08, 2005 at 12:00:32AM +0100, Marko Cuk wrote: > Resend... > > Please, does anyone have any ideas... > > > What is the status of the tun0 driver and ALTQ ? > I have FreeBSD 6.0-RELEASE and have tried it without success. Why 6.0 ? > Don't know... curious maybe... if you think, that 5.4 will work better, > I'll reinstall it. > > The tun0 is because od xDSL ( PPPoE ) > > It seems like packets won't match queue. Look at the pfctl output ( look > at the "bucy" rules -- he is a huge consumer and the primary uplink is > out for a week, xDSL is only backup and he consumes all the avail > bandwidth ) > > > THIS IFACE IS TUN0 ( pppoe ) > queue root_em0 bandwidth 1Gb priority 0 cbq( wrr root ) {std_ext, bucy_out} > [ pkts: 76053 bytes: 7390221 dropped pkts: 0 bytes: > 0 ] > [ qlength: 0/ 50 borrows: 0 suspends: 0 ] > [ measured: 199.0 packets/s, 146.71Kb/s ] No it isn't, it's em0. You probably want to be using ALTQ on tun0. I've done it; it works.... -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\