From owner-freebsd-questions@FreeBSD.ORG Sun Aug 28 21:29:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C3AB816A41F; Sun, 28 Aug 2005 21:29:02 +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 8439B43D45; Sun, 28 Aug 2005 21:29:02 +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 j7SLSuIL025178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 28 Aug 2005 14:29:01 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20050828142736.0402bad0@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sun, 28 Aug 2005 14:29:09 -0700 To: vladone , freebsd-ipfw@freebsd.org From: Glenn Dawson In-Reply-To: <1752667837.20050829001929@spaingsm.com> References: <1752667837.20050829001929@spaingsm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: challenge with dummynet+ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2005 21:29:02 -0000 At 02:19 PM 8/28/2005, vladone wrote: >Hi! >I want to organize my bandwith in this mode ># download section > 1000kbit/s > | > | > |--------------------| > | | > | | > hight low > priorized traffic priorized > | | > 512kbit/s | > | | > user |---------------| > share same | | > bandwith | | > 300 kbit/s 512kbit/s > | | > | | > | | > users share users share > same bandwith same bandwith > >I want to use ipfw+dummynet. Solutions is to pass traffic that match >an rule to multiple pipe or queue with different weights. But how? >What is the precedence? (need sysctl net.inet.ip.fw.one_pass=0) >If any have an solutions please be explicity. I dont want to be easy, >but is significant in this case, in wich order apply rule, and how is >configured pipe and queue. For this reason, solutions please put in >this form (example): You'd probably be better of using the altq features in pf. -Glenn >#section pipe and queue configuration >ipfw pipe 1 config ..... >ipfw queue 8 config weight 3 pipe 6 .... >.................. > >#section ipfw rules >ipfw add pipe 1 {match hight pri.} >ipfw add pipe 5 {match low pri. 300k same bandwith} >ipfw add queue 3 {match for hight pri. 512k same share} >............................... > >I work for a time with dummynet. In this >example have an important to build some hierarchy with dummy. > >P.S. this scheme is not changeable. Please refer to this situation. > > Thanks in advance! > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"