From owner-freebsd-net@FreeBSD.ORG Tue Jul 12 12:44:39 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 4B24516A41C for ; Tue, 12 Jul 2005 12:44:39 +0000 (GMT) (envelope-from olsson@puffy.nu) Received: from mail-srv1.teleservice.net (mail-srv1.teleservice.net [193.109.175.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8028F43D48 for ; Tue, 12 Jul 2005 12:44:38 +0000 (GMT) (envelope-from olsson@puffy.nu) Received: from [193.109.175.118] by mail-srv1.sjobo.nu (GMS 11.00.3335/NU2793.00.3c1025a7) with ESMTP id cevtyeaa for freebsd-net@freebsd.org; Tue, 12 Jul 2005 13:53:38 +0200 Message-ID: <42D3AF42.3050809@puffy.nu> Date: Tue, 12 Jul 2005 13:53:38 +0200 From: Philip Olsson User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050526) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremie Le Hen References: <42D2151B.4020807@puffy.nu> <02ae01c585e9$b1f64c70$42764eca@ilo.skyinet.net> <42D22214.2060804@puffy.nu> <20050711095414.GC39292@obiwan.tataz.chchile.org> In-Reply-To: <20050711095414.GC39292@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 12 Jul 2005 12:44:39 -0000 Jeremie Le Hen wrote: >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 > > Yepps. And adding bridged does not help either. I'm beginning to belive that I am the problem since there must be other people doing this. // philip