From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 11:28:33 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 0534216A4CE for ; Mon, 4 Apr 2005 11:28:33 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id A584F43D6D for ; Mon, 4 Apr 2005 11:28:32 +0000 (GMT) (envelope-from slapinid@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so156383nzk for ; Mon, 04 Apr 2005 04:28:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Fhpn9aKMtD5vE8BKqUGMYGX2IPv3mBe7SEqD7qXvLKTnaL+3JkmThDrelVoips7DCa2oxsroTQ2tMOK6VTA8KTIX9wdfGLuUa55bk8fFQj3AFMJfGcT03w2tBBF486/+uMPNM79zmD9N17MSS0vR1AYvzNlrtdlohS3Dzm940Bw= Received: by 10.36.90.20 with SMTP id n20mr46999nzb; Mon, 04 Apr 2005 04:28:31 -0700 (PDT) Received: by 10.36.34.14 with HTTP; Mon, 4 Apr 2005 04:28:31 -0700 (PDT) Message-ID: <48239d3905040404285e13067b@mail.gmail.com> Date: Mon, 4 Apr 2005 15:28:31 +0400 From: Sergey Lapin To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: dummynet problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sergey Lapin List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 11:28:33 -0000 Hi, all! Here I have a problem with dummynet. System is FreeBSD-5.3-STABLE month ago. we have very small bandwidth from LAN. rl0 is internal interface. ipfw rukes are (fwcmd=/sbin/ipfw): ${fwcmd} pipe 1 config bw 60Kbit/s ${fwcmd} add 778 pipe 1 tcp from any 25,43,53,80,110,119,123,143,953,5190 to 192.168.0.0/25 out via rl0 ${fwcmd} queue 1 config pipe 1 weight 100 mask dst-ip 0xffffffff queue 5 ${fwcmd} add 790 queue 1 log logamount 10 tcp from any to 192.168.0.99 out via rl0 ${fwcmd} queue 2 config pipe 1 weight 100 mask dst-ip 0x00000fff buckets 150 queue 10 ${fwcmd} queue 3 config pipe 1 weight 30 mask dst-ip 0x00000fff buckets 150 queue 10 ${fwcmd} queue 4 config pipe 1 weight 70 mask dst-ip 0x00000fff buckets 150 queue 10 ${fwcmd} add 791 queue 2 log logamount 10 tcp from any 5190 to 192.168.0.0/25 out via rl0 ${fwcmd} add 795 queue 3 log logamount 10 tcp from any 80,3128,21,20 to 192.168.0.0/25 out via rl0 ${fwcmd} add 792 queue 4 log logamount 10 tcp from any 25,110,43,53,119,123,143,953 to 192.168.0.0/25 out via rl0 Thanks a lot! S.