From owner-freebsd-net@FreeBSD.ORG Mon Jul 12 16:02:30 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4826E16A4CE for ; Mon, 12 Jul 2004 16:02:30 +0000 (GMT) Received: from ls413.htnet.hr (ls413.htnet.hr [195.29.150.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A860543D31 for ; Mon, 12 Jul 2004 16:02:29 +0000 (GMT) (envelope-from lycanthrope@post.htnet.hr) Received: from ls413.htnet.hr (localhost.localdomain [127.0.0.1]) by ls413.htnet.hr (0.0.0/8.12.10) with ESMTP id i6CG2Smn022404 for ; Mon, 12 Jul 2004 18:02:28 +0200 Received: from jkhahhytncost7 (194-152-215-232.adsl.net.htnet.hr [194.152.215.232]) by ls413.htnet.hr (0.0.0/8.12.10) with SMTP id i6CG2So1022402; Mon, 12 Jul 2004 18:02:28 +0200 Message-ID: <002801c46829$6748d230$1205a8c0@jkhahhytncost7> From: "lycanthrope" To: "lycanthrope" , References: <001501c46826$ea0f1740$1205a8c0@jkhahhytncost7> Date: Mon, 12 Jul 2004 18:00:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4922.1500 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4939.300 X-Trace: ls413.htnet.hr 1089648148 993 194.152.215.232 (Mon, 12 Jul 2004 18:02:28 +0200) Subject: Re: QoS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 16:02:30 -0000 ----- Original Message ----- From: "lycanthrope" To: Sent: Monday, July 12, 2004 5:43 PM Subject: QoS > hello > how to setup QoS on FreeBSD 5.2CURRENT? all I need is to split the outgoing adsl connection to 5 users on LAN I forgot some details. I want i to be dynamic. that is, 1 user, 100% usage, 2 users 50-50 etc. I see that ipfw2 has RED included,and that RED can do this, but I really can't seem to make it work I tried: ipfw add pipe 1 ip from any to 192.168.2.0/24 ipfw add queue 1 ip from any to 192.168.2.0/24 ipfw queue 1 config weight 5 pipe 1 mask dst-ip 0x000000ff ipfw pipe1 config bw 360Kbit/s ipfw add pipe 2 ip from 192.168.2.0/24 to any ipfw add queue 2 ip from 192.168.2.0/24 to any ipfw queue 2 config weight 4 pipe 2 mask dst-ip 0x000000ff ipfw pipe 2 config bw 360Kbit/s full speed of adsl is 384Kbit. what am I missing/doing wrong? AFAIK what I did should split connection dinamically for any 2.x user connecting to net? or? thanks!