From owner-freebsd-questions@FreeBSD.ORG Tue Mar 2 16:35:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6B3816A4CE for ; Tue, 2 Mar 2004 16:35:12 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AA1F43D1F for ; Tue, 2 Mar 2004 16:35:12 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 2 Mar 2004 18:35:32 -0600 Message-ID: <4045283D.1090805@daleco.biz> Date: Tue, 02 Mar 2004 18:35:09 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Karan Gupta References: <00bb01c400b5$c3f06a10$5c2aa8c0@edgefocus.com> In-Reply-To: <00bb01c400b5$c3f06a10$5c2aa8c0@edgefocus.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Mar 2004 00:35:32.0796 (UTC) FILETIME=[6FCD57C0:01C400B7] cc: freebsd-questions@freebsd.org Subject: Re: using ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 00:35:12 -0000 Karan Gupta wrote: >Newbie here so pls excuse if this question sounds trivial.... > >i use a single bsd router to service 2 properties. I want ppl on prop A to get 1.024kbit/s and the ones on prop B to get 256kbit/s....prop B is connected on the same network as prop A using a wireless device that has the an IP within the network range. Can is add a pipe to limit data from the IP address of the wireless device to 256kbit/s & achieve what i desire? > > > >Karan Gupta >(949) 355-4042 >kgupta@edgefocus.com >EdgeFocus Inc >65 Enterprise Aliso Viejo CA 92656 > > Something like this, for one pipe, assuming an xl NIC and using your dotted quad IP's: ipfw add pipe 1 tcp from any to ip.of.some.box via xl0 ipfw pipe 1 config bw 1024Kbit/s You probably need to check that you have the following in your kernel config.... options DUMMYNET options HZ=1000 HTH, Kevin Kinsey DaleCo, S.P.