From owner-freebsd-pf@FreeBSD.ORG Wed Dec 6 20:20:18 2006 Return-Path: X-Original-To: freebsd-pf@hub.freebsd.org Delivered-To: freebsd-pf@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B34AB16A494 for ; Wed, 6 Dec 2006 20:20:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E70243CAB for ; Wed, 6 Dec 2006 20:19:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB6KKC85044641 for ; Wed, 6 Dec 2006 20:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB6KKCCa044640; Wed, 6 Dec 2006 20:20:12 GMT (envelope-from gnats) Date: Wed, 6 Dec 2006 20:20:12 GMT Message-Id: <200612062020.kB6KKCCa044640@freefall.freebsd.org> To: freebsd-pf@FreeBSD.org From: Volker Cc: Subject: Re: kern/106400: fatal trap 12 at restart of PF with ALTQ if ng0 device has detached X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker 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, 06 Dec 2006 20:20:18 -0000 The following reply was made to PR kern/106400; it has been noted by GNATS. From: Volker To: "Boris S." Cc: bug-followup@FreeBSD.org, glebius@FreeBSD.org Subject: Re: kern/106400: fatal trap 12 at restart of PF with ALTQ if ng0 device has detached Date: Wed, 06 Dec 2006 21:16:03 +0100 Boris, On 12/06/06 20:17, Boris S. wrote: > I use ALTQ primarily for priorizing tcp acks. > Tell me if I'm wrong, but I think it is not possible to priorize TCP > ACKS on encapsulated PPPoE data on the 'real' interface. You do this for example: altq on xl0 .... queue blabla ... pass out on ng0 all queue(blablabla) > Bandwidth limiting on ng0 works great if I left some bandwidth for the > PPPoE overhead. > > Beside this, I can't currently limit the real interface, because the > dsl-modem is connected in another room on the main LAN. I don't have a > dedicated NIC for the modem. As I understand your NAT gateway has just one NIC and you're using a PPPoE pass-thru capable router? If so, you may still be able to use one queue for local traffic and one queue for external traffic (and sub-queues of both of course) on your NIC. But that's a question of personal taste. If ALTQ works for you your way, I would not effort a change. Greetings, Volker