From owner-freebsd-ipfw Sun Apr 14 18: 5:27 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from ns1.interbgc.com (mail.interbgc.com [217.9.224.3]) by hub.freebsd.org (Postfix) with SMTP id E0C6937B416 for ; Sun, 14 Apr 2002 18:05:19 -0700 (PDT) Received: (qmail 99732 invoked by uid 1005); 15 Apr 2002 01:05:11 -0000 Received: from misho@interbgc.com by keeper.interbgc.com with qmail-scanner-1.01 (uvscan: v4.0.50/v4194. . Clean. Processed in 8.931339 secs); 15 Apr 2002 01:05:11 -0000 Received: from unknown (HELO misho) (217.9.226.238) by mail.interbgc.com with SMTP; 15 Apr 2002 01:05:00 -0000 Message-ID: <003401c1e419$70e73340$eee209d9@interbgc.com> Reply-To: "Mihail Balikov" From: "Mihail Balikov" To: Subject: dummynet and ip.fw.one_pass Date: Mon, 15 Apr 2002 04:04:06 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, is it correct to use such configuration : sysctl -w net.inet.ip.fw.one_pass=0 # process only outgoing packets ipfw add 10 allow all from any to any in # shape whole network to 1Mb/s ipfw add 15 pipe 15 all from any to 1.2.3.0/24 ipfw pipe 15 config bw 1Mbit/s # shape every host to 64Kb/s ipfw add 20 pipe 20 all from any to 1.2.3.0/24 ipfw pipe 20 config mask dst-ip 0x000000ff bw 64Kbit/s # transmit packet ipfw add 30 allow all from any to any regards, Mihail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message