From owner-freebsd-net@FreeBSD.ORG Wed Jul 2 07:02:30 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1AD437B401 for ; Wed, 2 Jul 2003 07:02:30 -0700 (PDT) Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 4586543FFD for ; Wed, 2 Jul 2003 07:02:28 -0700 (PDT) (envelope-from kudzu@tenebras.com) Received: (qmail 20365 invoked from network); 2 Jul 2003 14:02:26 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (192.168.188.241) by 0 with SMTP; 2 Jul 2003 14:02:26 -0000 Message-ID: <3F02E5F2.4090407@tenebras.com> Date: Wed, 02 Jul 2003 07:02:26 -0700 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, zh-tw, zh-cn, fr, en, de-de MIME-Version: 1.0 To: net@freebsd.org References: <20030702213201.A599@grosbein.pp.ru> In-Reply-To: <20030702213201.A599@grosbein.pp.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ipprecedence X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 14:02:31 -0000 Eugene Grosbein wrote: > Suppose, we have a router running FreeBSD 4.8-STABLE. > Some of transit IP-packets have non-zero IP Precedence. > Is it possible to set up the router to rearrange interface queues > so that such packets are sent first? It seems to me you could use dummynet/ipfw2 to provide a stronge PREFERENCE for packets w/non-zero precedence -- the fairness aspect of dummynet queues works against your stated aim, but probabilistically you could pass all such packets ahead of others. The fairness guarantee means that, even if you had a steady stream of non-zero precedence packets, some others would be transmitted.