From owner-freebsd-questions Mon Nov 16 04:22:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA01884 for freebsd-questions-outgoing; Mon, 16 Nov 1998 04:22:25 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA01372 for ; Mon, 16 Nov 1998 04:19:26 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id OAA27745; Mon, 16 Nov 1998 14:03:00 +0200 (EET) (envelope-from ru) Date: Mon, 16 Nov 1998 14:02:59 +0200 From: Ruslan Ermilov To: "Nick A. Fikouras" Cc: lubnazia@cyberaccess.com.pk, freebsd-questions@FreeBSD.ORG Subject: Re: bandwith monitor for unix freebsd Message-ID: <19981116140259.D1664@ucb.crimea.ua> Mail-Followup-To: "Nick A. Fikouras" , lubnazia@cyberaccess.com.pk, freebsd-questions@FreeBSD.ORG References: <364A749A.6261@cyberaccess.com.pk> <3650090F.104E728B@dcs.shef.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i In-Reply-To: <3650090F.104E728B@dcs.shef.ac.uk>; from Nick A. Fikouras on Mon, Nov 16, 1998 at 11:14:23AM +0000 X-Operating-System: FreeBSD 2.2.7-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 16, 1998 at 11:14:23AM +0000, Nick A. Fikouras wrote: > > > Lubna Zia wrote: > > > Can we somehow control the bandwith being used by the customers at an > > ISP with the help of any relevant s/w tool available for unix freebsd? > > Is there a bandwith monitor available for unix freebsd? > > > > When we are talking about TCP/IP network, as far as I know IP is a best > effort protocol. That is, it performs its best to deliver traffic as fast > as it can. It is this characteristic of IP that makes it impossible (with > the current router infrastructure) to reserve or allocate bandwidth in the > Internet. > > I hope this has been of help, > > nick Not exactly true. If you are running either of -stable, 3.0 or -current you can utilize the new dummynet(4). In short, * * dummynet - Flexible bandwidth manager and delay emulator * * dummynet is a system facility that permits the control of traffic going * through the various network interfaces, by applying bandwidth and queue * size limitations, and simulating delays and losses. * * In its current implementation, packet selection is done with the ipfw * program, by means of ``pipe'' rules. A dummynet pipe is characterized by * a bandwidth, delay, queue size, and loss rate, which can be configured * with the ipfw program. Pipes are numbered from 1 to 65534, and packets * can be passed through multiple pipes depending on the ipfw configuration. * Best regards, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message