From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Wed, 11 Jan 2006 00:45:00 +0000 Subject: Re: [LARTC] Shaping traffic bound for the NAT'ed networks whithout imq Message-Id: <43C4550C.2060205@dsl.pipex.com> List-Id: References: <40857.194.239.27.101.1136898156.squirrel@mail.nrvissing.net> In-Reply-To: <40857.194.239.27.101.1136898156.squirrel@mail.nrvissing.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Flemming Frandsen wrote: > I'm trying to set up a shaper that can shape the inbound traffic to around > 40 subnets, that hang on 3 different interfaces of the router. > > As Linux can't do ingress shaping I'm left with having to set up 3 > seperate shapers, one for each internal interface. > > This is not completely optimal as I'll have to limit each of the 3 > interfaces to 1/3 of the total downstream bandwidth of the ADSL, leaving > users unhappy with performance and if a user happens to be on the same > segment as a leecher then he gets hit, but not everyone else. > > I've thought about using IMQ, but it's not available in the standard > kernel, and I'd really hate to have to reboot the router as it's > inaccessible and any breakdown would piss off the users. > > I have two questions: > 1) I compiled IMQ as a module and inserted it, but I couldn't "ifconfig > imq0 up" or anything else with it, any idea what I might be doing wrong? > > 2) Is there any alternative to using IMQ to get all the inbound traffic > shaped at once? Yes (depending on exact setup/requirements) - it's just gone in the latest net tree it's called ifb. http://www.mail-archive.com/netdev%40vger.kernel.org/msg05208.html AIUI if you have a recent kernel you should be able to build it as a stand alone module. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc