From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 6 12:58:54 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23FCE16A41F for ; Thu, 6 Oct 2005 12:58:54 +0000 (GMT) (envelope-from daniel@dgnetwork.com.br) Received: from zeus.yan.com.br (zeus.yan.com.br [200.202.253.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 37FFA43D5E for ; Thu, 6 Oct 2005 12:58:50 +0000 (GMT) (envelope-from daniel@dgnetwork.com.br) Received: (qmail 4822 invoked by uid 1023); 6 Oct 2005 12:58:30 -0000 Received: from daniel@dgnetwork.com.br by zeus by uid 1023 with qmail-scanner-1.22 (uvscan: v4.1.60/v4366. fsecure: 4.11/3190/2003-09-23/2002-12-17. 2003-09-22/. Clear:RC:1(200.202.253.197):. Processed in 0.694949 secs); 06 Oct 2005 12:58:30 -0000 Received: from unknown (HELO ?192.168.1.1?) (daniel@dgnetwork.com.br@200.202.253.197) by zeus.yan.com.br with SMTP; 6 Oct 2005 12:58:30 -0000 Message-ID: <43451F84.5070406@dgnetwork.com.br> Date: Thu, 06 Oct 2005 09:58:44 -0300 From: =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= Organization: DGNET Network Solutions User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: pt-br, pt MIME-Version: 1.0 To: Jeremie Le Hen References: <4344383B.4000405@dgnetwork.com.br> <20051006124625.GZ43195@obiwan.tataz.chchile.org> In-Reply-To: <20051006124625.GZ43195@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 06 Oct 2005 13:15:17 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPFW+DUMMYNET UPLOAD PROBLEM X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel@dgnetwork.com.br List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 12:58:54 -0000 Jeremie Le Hen escreveu: >Hi Daniel, > > > >>I have the following rules: >> >>$fwcmd add 600 pipe 602 src-ip 192.168.0.0/24 out >>$fwcmd add 601 pipe 603 dst-ip 192.168.0.0/24 in >>$fwcmd pipe 602 config mask src-ip 0x000000ff bw 128Kbit/s queue 10KBytes >>$fwcmd pipe 603 config mask dst-ip 0x000000ff bw 128Kbit/s queue 10KBytes >> >>And my test speed from ip 192.168.0.5 is: >>Down 123.66kbps >>Up 766.24kbps >> >> > >What's the output of >% ipfw show 600 601 > >Regards, > > # ipfw show 600 601 00600 2 210 pipe 602 ip from any to any src-ip 192.168.0.0/24 out 00601 26 9301 pipe 603 ip from any to any dst-ip 192.168.0.0/24 in # -- Daniel Dias Gonçalves DGNET Network Solutions daniel@dgnetwork.com.br (37) 99824809