From owner-freebsd-questions Sun Jun 23 16:29:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.kristal.ru (mail.kristal.ru [195.161.155.118]) by hub.freebsd.org (Postfix) with ESMTP id 8245637B403 for ; Sun, 23 Jun 2002 16:29:08 -0700 (PDT) Received: by mail.kristal.ru (Postfix, from userid 426) id 594A926D; Mon, 24 Jun 2002 09:29:06 +1000 (YAKST) Received: from c1110101.CRYSTALL.local (c1110101.CRYSTALL.local [192.168.1.253]) by mail.kristal.ru (Postfix) with ESMTP id 3640D26A; Mon, 24 Jun 2002 09:29:06 +1000 (YAKST) Date: Mon, 24 Jun 2002 09:29:06 +1000 From: Igor Kulemzin X-Mailer: The Bat! (v1.45) Personal X-Priority: 3 (Normal) Message-ID: <132231777197.20020624092906@kristal.ru> To: BSD Freak Cc: freebsd-questions@freebsd.org Subject: Re: Dummynet not working In-reply-To: <1794eaa1798343.17983431794eaa@mbox.com.au> References: <1794eaa1798343.17983431794eaa@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, When I use dummynet, my rules was written like below: ipfw add pipe 1 tcp from 192.168.1.5 to 192.168.1.6 ipfw pipe 1 config bw 64kbit/s but not like yours: ipfw queue 1 config pipe 1 weight 90 ipfw queue 2 config pipe 1 weight 1 ipfw add 400 queue 1 tcp from 192.168.0.50 to any ipfw add 500 queue 2 ip from any to any Try to change order of your rules. Monday, June 24, 2002, 8:47:13 AM, you wrote: BF> Hi all, BF> I'm relatively inexperienced when it comes to dummynet but I have read BF> the man page and lots more about it. Basically the situation is this: BF> We have a FreeBSD 4.5R router (with dummynet compiled in the kernel) BF> running a 64Kbps ISDN line to another site. The line is usually BF> saturated making access very slow and unreliable for some hosts on the BF> network. We have one host (192.168.0.50) on the network that is BF> particularly important and which requires priority access. So I added BF> the following rules, but this does not seem to help: BF> ipfw pipe 1 config bw 64Kbit/s BF> ipfw queue 1 config pipe 1 weight 90 BF> ipfw queue 2 config pipe 1 weight 1 BF> ipfw add 400 queue 1 tcp from 192.168.0.50 to any BF> ipfw add 500 queue 2 ip from any to any BF> What am I doing wrong? BF> Any help would be greatly appreciated.... BF> --------------------------------------------------------------------- BF> NEW to mBox, receive faxes to any email address! BF> Find out more http://www.mbox.com.au/fax BF> To Unsubscribe: send mail to majordomo@FreeBSD.org BF> with "unsubscribe freebsd-questions" in the body of the message -- Monday, June 24, 2002 9:25:01 AM Best regards, Igor Kulemzin Amursky Crystall, http://www.kristal.ru E-mail: ivk@kristal.ru -> This would easier understand fewer had omitted. -> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message