From owner-freebsd-questions@FreeBSD.ORG Fri Mar 18 01:38:05 2005 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 4641F16A4CE for ; Fri, 18 Mar 2005 01:38:05 +0000 (GMT) Received: from smtp.enternet.hu (smtp.enternet.hu [62.112.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7CCB43D54 for ; Fri, 18 Mar 2005 01:38:04 +0000 (GMT) (envelope-from nagylzs@freemail.hu) Received: from [62.68.179.209] (helo=[172.16.0.26]) by smtp.enternet.hu with esmtpa (Exim 4) id 1DC6R1-000L8I-V4 for freebsd-questions@freebsd.org; Fri, 18 Mar 2005 02:37:56 +0100 Message-ID: <423A30CA.1080901@freemail.hu> Date: Fri, 18 Mar 2005 02:37:14 +0100 From: Laszlo Zsolt Nagy User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: dummynet trick 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: Fri, 18 Mar 2005 01:38:05 -0000 Hello, This is the beginning of my script: ipfw -q flush ipfw pipe 1 config bw 729kbit/s ipfw pipe 2 config bw 121kbit/s ipfw queue 1 config pipe 1 weight 94 ipfw queue 2 config pipe 1 weight 5 ipfw queue 3 config pipe 1 weight 1 ipfw queue 4 config pipe 2 weight 94 ipfw queue 5 config pipe 2 weight 5 ipfw queue 6 config pipe 2 weight 1 Everything runs okay except this: ipfw queue 3 config pipe 1 weight 1 results in: ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument But when I change to this: ipfw queue 22 config pipe 1 weight 1 then it works just fine. What the hell is this? Laci p.s.: FreeBSD 4.8-p27