From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 6 16:32:15 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 7F15C16A41F for ; Thu, 6 Oct 2005 16:32:15 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4685343D45 for ; Thu, 6 Oct 2005 16:32:15 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (216-70-228-172.cust.telepacific.net [216.70.228.172]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j96GWCBK029060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2005 09:32:13 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20051006092843.04360750@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Thu, 06 Oct 2005 09:30:40 -0700 To: ddg@yan.com.br, freebsd-hackers@freebsd.org From: Glenn Dawson In-Reply-To: <43449C4B.8000501@yan.com.br> References: <43449C4B.8000501@yan.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Fri, 07 Oct 2005 11:50:53 +0000 Cc: 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 16:32:15 -0000 At 08:38 PM 10/5/2005, Daniel Dias Gon=E7alves wrote: >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 > >Which the problem? Are you doing NAT on the same machine? If so,=20 the rule that matches outbound packets should use=20 the public IP instead of the private one. -Glenn >-- >Daniel Dias Gon=E7alves >DGNET Network Solutions >daniel@dgnetwork.com.br >(37) 99824809 >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"