From owner-freebsd-isp Mon Jan 17 5:40:37 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 09C4D14CE4 for ; Mon, 17 Jan 2000 05:40:23 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id OAA53609; Mon, 17 Jan 2000 14:21:21 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200001171321.OAA53609@info.iet.unipi.it> Subject: Re: Bandwidth limiting on Switch. In-Reply-To: from Rowan Crowe at "Jan 18, 2000 00:15:43 am" To: Rowan Crowe Date: Mon, 17 Jan 2000 14:21:21 +0100 (CET) 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 > > Can one monitor bandwidth as well as limit it with dummynet? > Dummynet is part of (or configured via) ipfw, so you can just add in an > identical 'count' ipfw rule... > > It would be handy if we could specify dummynet pipes as an interface, to The new dummynet code in 4.0 (soon to go into 3.4) lets you do this as it has counters associated to pipes, and it also gives you the ability to define masks and create separate pipes per each flow, so you can basically do counting with something like ipfw add pipe 1 ip from any to any ipfw pipe 1 config mask src-ip 0xffffffff bw 60Kbit/s so you can have per-host accounting, and the like. Kind of the things you can do with trafshow/ntop but this is in-kernel so it is interface-independent. 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