From owner-freebsd-net@FreeBSD.ORG Mon Jul 11 09:54:16 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 3504816A41C for ; Mon, 11 Jul 2005 09:54:16 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF90943D45 for ; Mon, 11 Jul 2005 09:54:15 +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-2.free.fr (Postfix) with ESMTP id D6624C0DE; Mon, 11 Jul 2005 11:54:14 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 4CC22405B; Mon, 11 Jul 2005 11:54:14 +0200 (CEST) Date: Mon, 11 Jul 2005 11:54:14 +0200 From: Jeremie Le Hen To: Philip Olsson Message-ID: <20050711095414.GC39292@obiwan.tataz.chchile.org> References: <42D2151B.4020807@puffy.nu> <02ae01c585e9$b1f64c70$42764eca@ilo.skyinet.net> <42D22214.2060804@puffy.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D22214.2060804@puffy.nu> User-Agent: Mutt/1.5.9i Cc: fooler , freebsd-net@freebsd.org Subject: Re: ipfw+dummynet only getting half bandwidth when using routed interfaces. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 09:54:16 -0000 Hi Philip, > both counters increase.. and the last one "allow ip from any to any" > > But I guess that is because it matches the rules two times. > I have tried only having one rule but the same problem ( ofcourse only > one way. ) > I have also experimented with recv and xmit without success.. Did you try something like this (assuming 192.168.1.1 is on xl0 side, fxp0 is the other interface) : ipfw add pipe 1 any from 192.168.1.1 to any bridged out recv xl0 xmit fxp0 ipfw add pipe 2 any from any to 192.168.1.1 bridged out recv fxp0 xmit xl0 Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >