From owner-freebsd-ipfw@FreeBSD.ORG Wed Mar 4 21:11:30 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 14E63106564A for ; Wed, 4 Mar 2009 21:11:30 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id CDDEA8FC16 for ; Wed, 4 Mar 2009 21:11:29 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id D519E730A1; Wed, 4 Mar 2009 22:00:17 +0100 (CET) Date: Wed, 4 Mar 2009 22:00:17 +0100 From: Luigi Rizzo To: Sebastian Mellmann Message-ID: <20090304210017.GA29615@onelab2.iet.unipi.it> References: <49AED3B1.1060209@net.t-labs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49AED3B1.1060209@net.t-labs.tu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw (dummynet) adds delay, but not configured to do so 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: Wed, 04 Mar 2009 21:11:30 -0000 On Wed, Mar 04, 2009 at 08:17:05PM +0100, Sebastian Mellmann wrote: > Hi everyone! > > I hope this is the right place to ask. > > I've got a IPFW ruleset that looks like this: > > cmd=ipfw > bottleneck_bandwidth=100Mbit/s > in_if="em0" > > $cmd pipe 500 config bw $bottleneck_bandwidth > $cmd add pipe 500 all from any to any via $in_if the delay that a packet experiences corresponds to len/bandwidth, often rounded up to the next clock tick (1ms is the default). You get one delay inbound, one delay outbound, so that's 2ms. cheers luigi