Date: Fri, 17 Sep 1999 18:30:56 -0700 From: "Kelsey Cummings" <kc@neteze.com> To: "matt" <matt@MLINK.NET> Cc: <freebsd-questions@freebsd.org> Subject: Re: dummynet bandwidth limiting Message-ID: <16d601bf0175$74e6afe0$33f9c9d0@neteze.com> References: <Pine.BSF.4.10.9909172058040.1597-100000@dns02.arpa-canada.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <matt@MLINK.NET> To: <questions@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16d601bf0175$74e6afe0$33f9c9d0>