From owner-freebsd-stable@FreeBSD.ORG Wed Nov 9 12:23:31 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 0A1CC16A41F; Wed, 9 Nov 2005 12:23:31 +0000 (GMT) (envelope-from cuk@cuk.nu) Received: from jedi.netinet.si (jedi.netinet.si [213.143.65.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3746943D60; Wed, 9 Nov 2005 12:23:20 +0000 (GMT) (envelope-from cuk@cuk.nu) Received: from localhost (localhost [127.0.0.1]) by jedi.netinet.si (Postfix) with ESMTP id E6C98125485; Tue, 8 Nov 2005 14:38:07 +0100 (CET) Received: from jedi.netinet.si ([127.0.0.1]) by localhost (jedi.netinet.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12354-07; Tue, 8 Nov 2005 14:38:07 +0100 (CET) Received: from [192.168.6.60] (tm.213.143.78.60.lc.telemach.net [213.143.78.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jedi.netinet.si (Postfix) with ESMTP id 48385125461; Tue, 8 Nov 2005 14:38:07 +0100 (CET) Message-ID: <4370AA76.8000309@cuk.nu> Date: Tue, 08 Nov 2005 14:39:02 +0100 From: Marko Cuk Organization: NetInet User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Fundakowski Feldman References: <436FDC90.3020108@cuk.nu> <20051108013645.GE37350@green.homeunix.org> In-Reply-To: <20051108013645.GE37350@green.homeunix.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at NetInet.si 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: Wed, 09 Nov 2005 12:23:31 -0000 It seems that it work. Thanks. Damn, for vlan's ( 802.1Q) you should specify "em", for "tun", vice versa... what a mess, hehe. Cuk Brian Fundakowski Feldman wrote: >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.... > > > -- NetInet d.o.o. http://www.NetInet.si Private: http://cuk.nu MountainBikeSlovenia team: http://mtb.si Slovenian FreeBSD mirror admin http://www2.si.freebsd.org