From owner-freebsd-questions Sun Aug 22 6:28:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id D823814D01; Sun, 22 Aug 1999 06:28:09 -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 MAA05168; Sun, 22 Aug 1999 12:50:34 +0200 From: Luigi Rizzo Message-Id: <199908221050.MAA05168@labinfo.iet.unipi.it> Subject: Re: Rate limiting To: mwade@cdc.net (Mike Wade) Date: Sun, 22 Aug 1999 12:50:34 +0200 (MET DST) Cc: mistwolf@ethereal.net, freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG In-Reply-To: from "Mike Wade" at Aug 22, 99 08:45:42 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 754 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Look into dummynet (part of ipfw now, man dummynet) and the ALTQ package > (http://www.csl.sony.co.jp/person/kjc/programs.html) for FreeBSD. > > Example usage of dummynet to simulate a 128k ISDN link on : > > ipfw pipe 1 config bw 128Kbit/s > ipfw add 1000 pipe 1 ip from to any in recv > ipfw add 1001 pipe 1 ip from any to out xmit nitpicking... but isn't isdn full duplex ? If so you should rather use two pipes ipfw pipe 1 config bw 128Kbit/s queue 30Kbytes ipfw pipe 2 config bw 128Kbit/s queue 30Kbytes ipfw add 1000 pipe 1 ip from to any in recv ipfw add 1001 pipe 2 ip from any to out xmit cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message