From owner-freebsd-questions@FreeBSD.ORG Mon Mar 7 23:42:54 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 268A316A4CE for ; Mon, 7 Mar 2005 23:42:54 +0000 (GMT) Received: from ns21.jronline.nl (ns21.jronline.nl [82.192.77.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B69243D3F for ; Mon, 7 Mar 2005 23:42:53 +0000 (GMT) (envelope-from fbsdquestionmail@mindrules.net) Received: from www.mindrules.net (localhost.localdomain [127.0.0.1]) by ns21.jronline.nl (8.12.10/8.12.10) with ESMTP id j27NgpoN026359 for ; Tue, 8 Mar 2005 00:42:51 +0100 Received: from 82.173.4.101 (SquirrelMail authenticated user webmaster@mindrules.net); by www.mindrules.net with HTTP; Tue, 8 Mar 2005 00:42:51 +0100 (CET) Message-ID: <5602.82.173.4.101.1110238971.squirrel@82.173.4.101> Date: Tue, 8 Mar 2005 00:42:51 +0100 (CET) From: "Lucas" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: dummynet problem, kernel options checked 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: Mon, 07 Mar 2005 23:42:54 -0000 Hello, I'm running FreeBSD 5.3 Stable, installed from an iso on one of the dutch ftp mirrors. Everything works fine, installation went as expected. After a while I wanted some simple traffic shaping, and since the machine I wanted that for isn't the fastest, I chose to use ipfw with dummynet. From what I read that was not very resource-intensive. I recompiled the kernel, copied the GENERIC and added the following options: options IPFIREWALL #ipfw options DUMMYNET #dummynet options HZ=1000 #strongly recommended I looked into both the ipfw and dummynet manpages, and I under- stood this would be all that was needed. The compiling went fine, ipfw works, dummynet doesn't. I can add pipes, but configurating bandwith (or actually, just "ipfw pipe 1 config" is enough), gives me the following error: ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Protocol not available I tried the usual, looking into the handbook, faq, and searching newsgroups and the web. Everything there tells me that DUMMYNET isn't in my kernel options. I checked numerous times, and it is really there. Is there any way I could check if it really compiled? I vaguely remember something containing the word dummynet flashing by while compiling. Any advice is appreciated, Lucas