From owner-freebsd-isp Thu Jul 13 1:10:12 2000 Delivered-To: freebsd-isp@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 8DED237BF10 for ; Thu, 13 Jul 2000 01:10:08 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id KAA12462; Thu, 13 Jul 2000 10:11:36 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200007130811.KAA12462@info.iet.unipi.it> Subject: Re: Dummynet In-Reply-To: <396D75F0.C21F9CAD@csocs.com> from J & C Frazier at "Jul 13, 2000 01:55:28 am" To: J & C Frazier Date: Thu, 13 Jul 2000 10:11:36 +0200 (CEST) Cc: freebsd-isp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Anyone know of a good documentation page for creating a dummynet > or another means of accounting for all traffic per IP instead of per > interface? ipfw add pipe 1 ip from any to any ipfw pipe 1 config mask src-ip 0xffffffff and then every now and then run ipfw pipe 1 show (most likely you will need to apply some additional filtering so that packets do not get accounted twice on a machine acting as a router. See the ipfw(8) manpage. cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message