From owner-freebsd-isp Thu May 14 11:10:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15156 for freebsd-isp-outgoing; Thu, 14 May 1998 11:10:27 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA14605; Thu, 14 May 1998 11:07:53 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA00965; Thu, 14 May 1998 18:23:03 +0200 From: Luigi Rizzo Message-Id: <199805141623.SAA00965@labinfo.iet.unipi.it> Subject: Bandwidth limiter available To: isp@FreeBSD.ORG Date: Thu, 14 May 1998 18:23:03 +0200 (MET DST) Cc: luigi@labinfo.iet.unipi.it (Luigi Rizzo) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok guys, i have added all features i wanted to the dummynet package (a bandwidth limiter and testing tool), and now it should be safe to use. What i need is people testing it other than me... so why don't you fetch a copy and try it ? Description and diffs for 2.2.6 are at http://www.iet.unipi.it/~luigi/ip_dummynet/ and hopefully the port to other versions should be straightforward. Because it is configured with "ipfw", its use should be simple. E.g. consider a web server with multiple aliases, you can allocate bandwidth in the following way: # first virtual server... ipfw pipe 1 config bw 256Kbit/s ipfw add pipe 1 ip from my-alias-1 port 80 to any # second virtual server... ipfw pipe 2 config bw 128Kbit/s ipfw add pipe 2 ip from my-alias-2 port 80 to any # third virtual server... ipfw pipe 3 config bw 64Kbit/s ipfw add pipe 3 ip from my-alias-3 port 80 to any # make ICMP packets very slow... ipfw pipe 4 config bw 16Kbit/s delay 200ms ipfw add pipe 3 icmp from any to any and for simulation purposes, if you want to see the effect of a peculiar asymmetric line: ipfw pipe 5 config bw 2Mbit/s delay 100ms # downlink ipfw pipe 6 config bw 128Kbit/s delay 300ms # uplink ipfw add pipe 5 ip from not my_ip to my_ip ipfw add pipe 6 ip from my_ip to any have fun... cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message