From owner-freebsd-net@FreeBSD.ORG Mon Jul 11 07:14:20 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 614A616A41C for ; Mon, 11 Jul 2005 07:14:20 +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 D550043D49 for ; Mon, 11 Jul 2005 07:14:19 +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 lviryeaa for freebsd-net@freebsd.org; Mon, 11 Jul 2005 09:14:13 +0200 Message-ID: <42D21C45.3090204@puffy.nu> Date: Mon, 11 Jul 2005 09:14:13 +0200 From: Philip Olsson User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050526) X-Accept-Language: en-us, en MIME-Version: 1.0 To: vladone , freebsd-net@freebsd.org References: <42D2151B.4020807@puffy.nu> <13510018368.20050711095159@llwb135.servidoresdns.net> In-Reply-To: <13510018368.20050711095159@llwb135.servidoresdns.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 07:14:20 -0000 vladone wrote: >Hello Philip, > >Monday, July 11, 2005, 9:43:39 AM, you wrote: > > > >>Hello >>I have a working setup with ipfw+dummynet+bridge where I get proper >>speeds but I want to have routed interfaces instead and skip the bridge. >> >> > > > >>But when converting to routed interfaces the bandwith through the queues >>drops to half. >> >> > > > >>This is both in 5.4-REL and RELENG_5_4 and is showing on both xl and em >>( not that the interfaces should matter ) >> >> > > > >>The topology that work is: >>server<->bridge<->client >> >> > > > >>The topology I want but that does not work properly is: >>server<->router<->client >> >> > > > >>This is my conf: >> >> > > > >>ipfw add pipe 1 ip from 192.168.1.1 to any out >>ipfw add pipe 2 ip from any to 192.168.1.1 in >> >> >This is happend because your pachets pass throught firewall two times. >I have same problem, and with atention u can resolv this. Separe >traffic that in or out per interface. > > I have tried to add "via xl0" etc in different ways, do you have some sample rules? // Philip