From owner-freebsd-current@FreeBSD.ORG Mon Feb 21 11:31:03 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF46916A4CE for ; Mon, 21 Feb 2005 11:31:03 +0000 (GMT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99C0643D49 for ; Mon, 21 Feb 2005 11:31:03 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-1.free.fr (Postfix) with ESMTP id BF44C1734DA; Mon, 21 Feb 2005 12:31:02 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 574F1407C; Mon, 21 Feb 2005 12:30:26 +0100 (CET) Date: Mon, 21 Feb 2005 12:30:26 +0100 From: Jeremie Le Hen To: Sipat Triukose Message-ID: <20050221113026.GG1437@obiwan.tataz.chchile.org> References: <1108962930.9203.12.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1108962930.9203.12.camel@localhost.localdomain> User-Agent: Mutt/1.5.7i cc: FreeBSD Current Group Subject: Re: dummynet question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2005 11:31:04 -0000 Hi Sipat, you should have used freebsd-ipfw@ for this question. > I setup my FreeBSD 5.3 box as a bridge and use dummynet to introduce > delay and bandwidth limitation. > > My question is I'm finding the way to interconnect the pipes together > within the same machine. > > For example, I have 3 pipes with different configuration. The I would > like to emulate a more complex network by connecting input to pipe1, > pipe1 to pipe2, pipe2 to pipe3, and pipe3 to output network. > > If anyone has any ideas, please help me. It's very simple. You just have to define multiple pipes and then add rules to make packets go through them. The only thing you have to be careful about is that the net.inet.ip.fw.one_pass is set to 0. Regards, -- Jeremie Le Hen jeremie at le-hen dot org