From owner-freebsd-ipfw@FreeBSD.ORG Fri Mar 20 15:53:26 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49BA01065675 for ; Fri, 20 Mar 2009 15:53:26 +0000 (UTC) (envelope-from sebastian.mellmann@net.t-labs.tu-berlin.de) Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by mx1.freebsd.org (Postfix) with ESMTP id 0C03A8FC13 for ; Fri, 20 Mar 2009 15:53:25 +0000 (UTC) (envelope-from sebastian.mellmann@net.t-labs.tu-berlin.de) Received: from [192.168.1.2] (e179073198.adsl.alicedsl.de [85.179.73.198]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id D734E700D477 for ; Fri, 20 Mar 2009 16:53:24 +0100 (CET) Message-ID: <49C3BBF6.7040104@net.t-labs.tu-berlin.de> Date: Fri, 20 Mar 2009 16:53:26 +0100 From: Sebastian Mellmann User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: ipfw dummynet - delay distributions when using config masks X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 15:53:27 -0000 Hi! I'm using pipe masks for defining multiple queues per traffic flow, e.g. $cmd pipe 100 config mask all bw $webclient_upload_bandwidth queue $queue_size delay $client_rtt_delay $cmd pipe 200 config mask all bw $webclient_download_bandwidth queue $queue_size delay $client_rtt_delay $cmd add pipe 100 all from $client1_subnet to $server1_subnet in recv $in_if $cmd add pipe 200 all from $server1_subnet to $client1_subnet out xmit $in_if As you can see in the example above I'm defining a fixed delay value for all queues. Is it possible to define a delay distribution, e.g. min. 20ms, mean 50ms and max. 80ms for the pipe? I had a look at the ipfw howto (http://www.freebsd-howto.com/HOWTO/Ipfw-HOWTO), but couldn't find anything there nor via google. Thanks in advance for any help! Regards, Sebastian