I didn't think the shaper would allow dummy interfaces (eth0:0 etc).. I tried that years ago without luck.. have they changed the setup heaps since then, I'd guess so..
Does it support port shaping yet? Haven't seen anything about it, but that would be a big +plus+ for the project.... thanks, George Vieira Systems Manager Citadel Computer Systems P/L -----Original Message----- From: Grant Parnell [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 December 2001 7:40 PM To: Doug Stalker Cc: Slug Subject: Re: [SLUG] limit apaches bandwidth usage On Wed, 19 Dec 2001, Doug Stalker wrote: > > How can I limit Apaches bandwidth use? I have a 256 kbps outgoing > connection with Telstra ADSL (when it works...) and would like to limit > apache to using only 192kbps, so that I can still use systems inside the > network when my web-site is being hit. > You could bind apache to a dummy interface on a different IP then 'route' traffic through the shaper device. It was just installed automatically on my laptop's RedHat 7.2 system. Looking through the doco's suggests it hasn't had much done to it lately. [root@gripz 2.4.7-10]# find /usr/lib/modules/2.4.7-10 | grep shap /usr/lib/modules/2.4.7-10/kernel/drivers/net/shaper.o [root@gripz shapecfg-2.2.12]# rpm -qi shapecfg Name : shapecfg Relocations: (not relocateable) Version : 2.2.12 Vendor: Red Hat, Inc. Release : 7 Build Date: Wed 18 Jul 2001 05:38:40 AM EST Install date: Fri 24 Aug 2001 11:14:45 AM EST Build Host: porky.devel.redhat.com Group : System Environment/Base Source RPM: shapecfg-2.2.12-7.src.rpm Size : 23764 License: GPL Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> Summary : A configuration tool for setting traffic bandwidth parameters. Description : The Shapecfg program configures and adjusts traffic shaper bandwidth limiters. Traffic shaping means setting parameters or limit to which network traffic should conform--setting limitations on bandwidth consumption. To use Shapecfg, you must have also installed the kernel which supports the shaper module (kernel versions 2.0.36 or later and late 2.1.x kernels). Install the shapecfg package if you want to set traffic bandwidth parameters, and if you have the appropriate kernel. -- ---<GRiP>--- Web: www.arcadia.au.com/gripz Phone/fax: 02 4950 1194 Mobile: 0408 686 201 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
