From owner-freebsd-net Wed Jul 31 22:49:16 2002 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 888CE37B400 for ; Wed, 31 Jul 2002 22:49:14 -0700 (PDT) Received: from mail2.there.com (ip64-178-80-34.z80-178-64.customer.algx.net [64.178.80.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28AC843E6E for ; Wed, 31 Jul 2002 22:49:14 -0700 (PDT) (envelope-from tspencer@There.COM) Received: from There.COM (jubble.there.com [10.10.11.188]) by mail2.there.com (Postfix) with ESMTP id 3D53079CEC for ; Wed, 31 Jul 2002 22:48:51 -0700 (PDT) Message-ID: <3D48CB5F.2070805@There.COM> Date: Wed, 31 Jul 2002 22:47:11 -0700 From: Tim Spencer Organization: Sometimes! User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020718 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: dummynet and queueing and net.inet.ip.fw.one_pass Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org So, if I were to set net.inet.ip.fw.one_pass to zero (which I believe is "off" as per the ipfw man page), and I were to say something like this: ipfw pipe 1 config bw 1.5Mbit/s ipfw queue 1 config pipe 1 weight 50 ipfw queue 2 config pipe 1 weight 1 ipfw add queue 2 ip from 10.0.0.0/8 to any out ipfw add queue 2 ip from any to 10.0.0.0/8 in ipfw add queue 1 ip from 10.20.0.0/16 to any out ipfw add queue 1 ip from any to 10.20.0.0/16 in Would traffic from the 10.20.0.0/16 net get put in two queues? What happens in a situation like this where traffic matches multiple queues, and net.inet.ip.fw.one_pass allows it to pass on through? I need to allow the net.inet.ip.fw.one_pass stuff so that I can later on (after the traffic shaping) NAT traffic and other sundry firewall functions. I thought I'd ask before I delved into the source for several days. :-) Thanks, and have fun! -tspencer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message