From owner-freebsd-isp Mon Dec 2 9:31: 4 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C203737B401 for ; Mon, 2 Dec 2002 09:31:02 -0800 (PST) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2814A43EC2 for ; Mon, 2 Dec 2002 09:30:57 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd08.sul.t-online.de by mailout09.sul.t-online.com with smtp id 18IuPH-0003Ho-02; Mon, 02 Dec 2002 18:30:55 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.118.94]) by fmrl08.sul.t-online.com with esmtp id 18IuP2-116AnwC; Mon, 2 Dec 2002 18:30:40 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id gB2HUZox005064; Mon, 2 Dec 2002 18:30:35 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.6/8.12.6) with SMTP id gB2HUZOu017073; Mon, 2 Dec 2002 18:30:35 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Mon, 2 Dec 2002 18:30:35 +0100 From: Alexander Leidinger To: "Peter Brezny" Cc: freebsd-isp@freebsd.org Subject: Re: traffic prioritization. Message-Id: <20021202183035.29e6c95e.Alexander@Leidinger.net> In-Reply-To: References: <20021201144939.0001f7d7.Alexander@Leidinger.net> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 2 Dec 2002 12:07:30 -0500 "Peter Brezny" wrote: > Do you have an example of what you described below that I could look at to > minimize syntax battles? ---snip--- ############ # Flush out the list before we begin. ${fwcmd} -f flush ${fwcmd} -f queue flush ${fwcmd} -f pipe flush ${fwcmd} pipe 1 config bw 64kbit/s queue 10KByte ${fwcmd} queue 1 config pipe 1 weight 10 queue 10KByte ${fwcmd} queue 2 config pipe 1 weight 1 queue 10Kbyte ${fwcmd} add queue 1 tcp from ${inside_net}/${inside_mask} to any via ${interface} out ${fwcmd} add queue 2 udp from ${inside_net}/${inside_mask} to any via ${interface} out ---snip--- This adds a pipe with a limit of 8k. Both queues share this bandwith, but one gets more than the other. Then outgoing tcp traffic flows through queue 1 and udp traffic through queue 2. Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message