From owner-freebsd-pf@FreeBSD.ORG Fri Oct 28 13:13:21 2011 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 465C7106564A for ; Fri, 28 Oct 2011 13:13:21 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 134028FC0A for ; Fri, 28 Oct 2011 13:13:20 +0000 (UTC) Received: by iaky10 with SMTP id y10so6301489iak.13 for ; Fri, 28 Oct 2011 06:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=O9oHp3MqQaL9lWaVRUtw6NQnU4A9Pyyu3v1YSJewMug=; b=HdqUQjwULKDzLZcEO22zmAuBjkhJkdFwVQOpwiMEMpvU6lMFRAkH7srb05VkwcoipL 7q7bl5Bg3ik1rSLskMhnDlQNZ98EgVWCYPNgFSNJYwFeBxd0Mf4ICz0T9cEkslt/fbXG N2RduwPkT/suLteca3Q0ciGJzwF8l4JB9y+zc= MIME-Version: 1.0 Received: by 10.231.5.73 with SMTP id 9mr962307ibu.60.1319807599331; Fri, 28 Oct 2011 06:13:19 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.231.53.213 with HTTP; Fri, 28 Oct 2011 06:13:19 -0700 (PDT) In-Reply-To: <12724.1319660195.16881837918041800704@ffe5.ukr.net> References: <12724.1319660195.16881837918041800704@ffe5.ukr.net> Date: Fri, 28 Oct 2011 15:13:19 +0200 X-Google-Sender-Auth: BPV0T8amsuE6RUidhTrl2Vd15jg Message-ID: From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: =?KOI8-R?B?98nUwczJyiD3zMHEyc3J0s/Xyd4=?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: freebsd-pf@freebsd.org Subject: Re: ALTQ with HFSC 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: Fri, 28 Oct 2011 13:13:21 -0000 2011/10/26 =F7=C9=D4=C1=CC=C9=CA =F7=CC=C1=C4=C9=CD=C9=D2=CF=D7=C9=DE : > > =9ARecently I worked around traffic prioritization of my router (FreeBSD9= -BETA3). I would like to prioritization traffic coming from external interf= ace and coming from internal LAN. > > ## ALTQ > > altq on $ext_if hfsc bandwidth 800Kb qlimit 500 queue {std lan lan_ack se= rv serv_ack} > queue std bandwidth 100Kb priority 2 hfsc(default ecn) > > queue lan bandwidth 100Kb priority 5 hfsc(realtime 100Kb) > queue lan_ack bandwidth 300Kb priority 10 hfsc(realtime 200Kb) > > queue serv bandwidth 200Kb priority 4 hfsc(realtime 200Kb) > queue serv_ack bandwidth 100Kb priority 256 hfsc(realtime 50Kb) > > ./pf.conf:58: priority out of range: max 255 > pfctl: Syntax error in config file: pf rules not loaded > > Does HFSC support up to 255 priorities? > The man page details the maximum for hfsc. Though just a general comment here, on ALTQ HFSC scheduler priority is not respected and only the bandiwidth values really have a meaning. > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" > --=20 Ermal