From owner-freebsd-questions Fri Sep 17 18:44:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from agora.neteze.com (agora.neteze.com [208.201.249.4]) by hub.freebsd.org (Postfix) with ESMTP id 646D214FDD for ; Fri, 17 Sep 1999 18:44:46 -0700 (PDT) (envelope-from kc@neteze.com) Received: from admin1 ([208.201.249.51]) by agora.neteze.com (Post.Office MTA v3.5.3 release 223 ID# 0-60395U6000L600S0V35) with SMTP id com for ; Fri, 17 Sep 1999 18:48:43 -0700 Message-ID: <16ec01bf0177$cdf2ca40$33f9c9d0@neteze.com> From: "Kelsey Cummings" To: References: <16d601bf0175$74e6afe0$33f9c9d0@neteze.com> Subject: Re: dummynet bandwidth limiting Date: Fri, 17 Sep 1999 18:47:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Good. I first tried using it about 1 year ago before it was in -stable.. We should all thank Luigi for such a cool feature and for putting up with people like me pestering him trying to figure out how to make it work. http://www.iet.unipi.it/~luigi/ ----------------------------------------------------------------- Kelsey Cummings System Administrator NetEase, Inc. kc@neteze.com ----------------------------------------------------------------- ----- Original Message ----- From: Kelsey Cummings To: matt Cc: Sent: Friday, September 17, 1999 6:30 PM Subject: Re: dummynet bandwidth limiting > Something like this --> > > net.link.ether.bridge: 1 > net.link.ether.bridge_ipfw: 1 > > if you're doing it bridged... > > echo "Loading rules for Suite 200" > echo "..." > ipfw add pipe 2000 ip from any to xxx.201.244.93 > ipfw add pipe 2000 ip from any to xxx.201.244.113 > ipfw add pipe 2000 ip from any to xxx.201.244.116 > ipfw add pipe 2001 ip from xxx.201.244.93 to any > ipfw add pipe 2001 ip from xxx.201.244.113 to any > ipfw add pipe 2001 ip from 208.201.244.116 to any > ipfw pipe 2000 config bw 1Mbit/s > ipfw pipe 2001 config bw 1Mbit/s > echo "Loading rules for Suite 1200" > echo "..." > ipfw add pipe 110 ip from any to x.201.244.98 > ipfw add pipe 111 ip from x.201.244.98 to any > ipfw pipe 110 config bw 70Kbit/s > ipfw pipe 111 config bw 70Kbit/s > ipfw add pipe 120 ip from any to x.201.244.101 > ipfw add pipe 121 ip from x.201.244.101 to any > ipfw pipe 120 config bw 70Kbit/s > ipfw pipe 121 config bw 70Kbit/s > ipfw add pipe 130 ip from any to x.201.244.102 > ipfw add pipe 131 ip from x.201.244.102 to any > ipfw pipe 130 config bw 70Kbit/s > ipfw pipe 131 config bw 70Kbit/s > ipfw add pipe 140 ip from any to x.201.244.103 > ipfw add pipe 141 ip from x.201.244.103 to any > ipfw pipe 140 config bw 70Kbit/s > ipfw pipe 141 config bw 70Kbit/s > > > > ----------------------------------------------------------------- > Kelsey Cummings > System Administrator > NetEase, Inc. > kc@neteze.com > ----------------------------------------------------------------- > > ----- Original Message ----- > From: matt > To: > Sent: Friday, September 17, 1999 6:00 PM > Subject: dummynet bandwidth limiting > > > > > > Ok, > > I'm moving this to -questions after my original post on the matter > > on -isp, as this is now far out of the scope of that list. I am wondering > > how to use dummynet properlly to limit the bandwidth of a website which is > > on a virtual ip using apache's normal virtual host directives, I've read > > the man page, but I'm still unclear on how to do it, "ipfw add pipe NNN > > ...." is not doing it for me, I do however think I understand the pipe > > configuration.. but not the add... Silly, eh? > > > > Please, cc me as I am not on this list, too much email per day. Thanks, > > > > Matt > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message