From owner-freebsd-pf@FreeBSD.ORG Tue Jul 10 14:50:50 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16B8016A400 for ; Tue, 10 Jul 2007 14:50:50 +0000 (UTC) (envelope-from mahabubbasha@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id E844113C455 for ; Tue, 10 Jul 2007 14:50:49 +0000 (UTC) (envelope-from mahabubbasha@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so1871871waf for ; Tue, 10 Jul 2007 07:50:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OrY9VtDjMoGTgocCCrMdoKo75Bud/9vtB3JZcPVCqIqpe4vWZ1ioDZX2L04zyEpqKTXULM7ElzdgLyhvBzdNdwSCVLkqYnNwbnD56Gwieb9NB1oaYF6riSi0XePJI8js7c2t9zchFnLV5jbbzdh4VOoXGEKphxo4RjEN4uXexW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QU9qukh18Y/lOblKJdIX1NovNSywsq1a+wwvyGsu1fVDcXQJX5OIHPY4o2QYp5Vx/g5MEgidzB2ZbClK5qwWnFJPtsScjKLWLmObauUkwVxA5KDyDRRfx37NRYDd1SFd+kheX5kXvU8DEHEiwHmG1oTJD+Qvyc2Hx2q6aya1bkg= Received: by 10.114.202.15 with SMTP id z15mr4216067waf.1184077560144; Tue, 10 Jul 2007 07:26:00 -0700 (PDT) Received: by 10.114.179.13 with HTTP; Tue, 10 Jul 2007 07:26:00 -0700 (PDT) Message-ID: Date: Tue, 10 Jul 2007 19:56:00 +0530 From: "Mahabub Basha" To: freebsd-pf@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ALTQ on multi-WAN with pf pools X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Tue, 10 Jul 2007 14:50:50 -0000 Hi all, I have a multi-WAN setup using pf pools and want to use simple QoS using ALTQ. I don't know how to use priq in combination with multi-wan. My stripped pf.conf looks like this pf.conf ========================================================== altq on $wan priq queue { idle_1, normal_1, high_1} queue idle_1 priq(default) queue normal_1 priority 2 queue high_1 priority 3 altq on $wan2 priq queue { idle_2, normal_2, high_2 } queue idle_2 priq(default) queue normal_2 priority 2 queue high_2 priority 3 # User NAT Rules nat on $wan from any to any -> ($wan) nat on $wan2 from any to any -> ($wan2) pass in quick on $lan route-to { ($wan $wan_gw), ($wan2 $wan2_gw) } \ round-robin inet from ($lan:network) to any flags S/SA keep state ========================================================== How can I assign select traffic (eg. ssh) going out on either $wan or $wan2 to the "high_x" queues? Thanks for reading! - Mahabub Basha. S