From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 6 18:31:17 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 7076A16A41F for ; Thu, 6 Oct 2005 18:31:17 +0000 (GMT) (envelope-from david@madole.net) Received: from a.omd3.com (a.omd3.com [69.90.174.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CBBC43D48 for ; Thu, 6 Oct 2005 18:31:16 +0000 (GMT) (envelope-from david@madole.net) Received: from dhcp-66-212-201-164.myeastern.com ([66.212.201.164] helo=david) by a.omd3.com with esmtpa (Exim 4.50) id 1ENaWQ-00005Z-Ur; Thu, 06 Oct 2005 14:31:16 -0400 Message-ID: <0abd01c5caa4$1e8c84e0$c3e7a8c0@david> From: "David S. Madole" To: References: <4344383B.4000405@dgnetwork.com.br><20051006124625.GZ43195@obiwan.tataz.chchile.org> <43451F84.5070406@dgnetwork.com.br> Date: Thu, 6 Oct 2005 14:31:07 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Cc: daniel@dgnetwork.com.br Subject: Re: IPFW+DUMMYNET UPLOAD PROBLEM X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 18:31:17 -0000 From: "Daniel Dias Gonçalves" > >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 Do you have additional rules that you haven't shown, such as a divert rule for NAT? Perhaps because of NAT the source address is not what you think it is at rule 600 and you need to move that rule before your divert rule. David