From owner-freebsd-security Thu Aug 2 19:13:17 2001 Delivered-To: freebsd-security@freebsd.org Received: from alpha.focalnetworks.net (alpha.focalnetworks.net [209.135.104.32]) by hub.freebsd.org (Postfix) with SMTP id 1DC9F37B405 for ; Thu, 2 Aug 2001 19:13:14 -0700 (PDT) (envelope-from project10@alpha.focalnetworks.net) Received: (qmail 81448 invoked by uid 1000); 3 Aug 2001 02:11:47 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Aug 2001 02:11:47 -0000 Date: Thu, 2 Aug 2001 22:11:47 -0400 (EDT) From: Shawn Lussier To: Kirill Jezduke Cc: Subject: Re: ipfw + QOS In-Reply-To: <20010803000550.V42633-100000@mail.tavrida.net> Message-ID: <20010802220354.M81192-100000@alpha.focalnetworks.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 3 Aug 2001, Kirill Jezduke wrote: > Excuse me, but I don't undestood how to determine the minimum bandwidth > for user. > > Example: > total bandwidth = 256Kb/sec. Interface ed0. > IP (10.0.0.1) - minimum 128Kb/sec, maximun 256Kb/sec. > IP (All others) - minimum 0Kb/sec, maximum 256Kb/sec > > Can you show me a ipfw-rules to do this? > While I haven't setup something similar to this scenario, I am fairly certain that it is possible. You can use weighted queueing to give traffic priority to 10.0.0.1 before 'all others' (I hope :)). From the 'ipfw' manpage: weight weight Specifies the weight to be used for flows matching this queue. The weight must be in the range 1..100, and defaults to 1. Again, I've never setup minimums and weighted queueing using ipfw, so I can't say for certain whether it is possible, nor give concrete examples of how it might be implemented. -Shawn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message