From owner-freebsd-pf@FreeBSD.ORG Wed Jun 1 04:37:47 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9879F16A41C for ; Wed, 1 Jun 2005 04:37:47 +0000 (GMT) (envelope-from jsimola@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D9D143D54 for ; Wed, 1 Jun 2005 04:37:47 +0000 (GMT) (envelope-from jsimola@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so3073251wri for ; Tue, 31 May 2005 21:37:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cH6t0F009aw8bbzy1qi5iw/65QiKp9hb2DhBqWCAtrfbCl6cyvA0KEX33WPb6NXs17npeCcS1HfejMc9ZKT2JF7GpTk0rzsV5axjtDgjVEAqV5gZT2oV/3nWm/uupvVhEQAFDgzNpgdTtcu9paqCv+1MEZKdf07WdOZS+RGKt4w= Received: by 10.54.27.62 with SMTP id a62mr7205675wra; Tue, 31 May 2005 21:31:06 -0700 (PDT) Received: by 10.54.39.65 with HTTP; Tue, 31 May 2005 21:31:06 -0700 (PDT) Message-ID: <8eea040805053121312cb41e05@mail.gmail.com> Date: Tue, 31 May 2005 21:31:06 -0700 From: Jon Simola To: Benjamin Lauziere In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-pf@freebsd.org Subject: Re: ALTQ on vlan interface X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jon@abccomm.com List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 04:37:47 -0000 On 5/31/05, Benjamin Lauziere wrote: > I am trying get ALTQ to work on a vlan interface. When I try to load > my pf config file I get this error: Heh, I asked this exact question before, and even wrote up some patches, but the "official" word is from Max Laier: http://lists.freebsd.org/mailman/htdig/freebsd-net/2005-February/006456.htm Here's the bits from my pf.conf (vlan100's parent is em1): altq on em0 cbq bandwidth 100Mb queue { default_ext, throttle_ext } queue default_ext qlimit 200 cbq(default) queue throttle_ext bandwidth 128Kb cbq(red ecn) altq on em1 cbq bandwidth 100Mb queue { default_int, throttle_int, e10_int = } queue default_int cbq(default) queue throttle_int bandwidth 128Kb cbq(ecn) queue e10_int bandwidth 9Mb cbq(ecn) pass out quick on em0 from to any keep state queue throttle= _ext pass out on em0 pass in on vlan100 keep state pass out quick log on vlan100 from any to keep state queue throttle_int pass out on vlan100 keep state --=20 Jon Simola Systems Administrator ABC Communications