From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Thu, 29 Mar 2007 22:37:32 +0000 Subject: Re: [LARTC] Fairness queuing across a range of IP addresses Message-Id: <460C3FAC.1050808@andyfurniss.entadsl.com> List-Id: References: <4600245C.9040906@interdart.co.uk> In-Reply-To: <4600245C.9040906@interdart.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Oscar Mechanic wrote: > On Tue, 2007-03-20 at 20:09 +0100, Ales Klok wrote: >> Derek Sims wrote: >>> I have a block of IP addresses (2048) used for ADSL connections to >>> customers. >>> >>> In order to provide a fair slice of available bandwidth on the >>> contended services I would like to be able to set up some kind of SFQ >>> filter, but using a hash of the destination IP address rather than the >>> the full source and destination ip and port. This would be done at the >>> Internet side gateway for traffic being sent towards the customer's IP >>> address. >>> >>> Can anybody suggest how this could be done with qdiscs? >>> >>> TIA >>> >>> Derek >> Hi Derek, if i understand what you wanna do then i think you are looking >> for ESFQ. With ESFQ you can choose hash type from classic, dest IP or >> src IP. >> /ak > > As an ISP with 800 clients I found the hashs difficult to manage after > time. Also when dealing with clients who want subnet /29 mapping back to > a billing entry was hard. I wrote some PHP so other could use web front > end and used ipset (both hash and net sets) and combining with marks to > do the traffic control for different levels of service. As the client > requirements grew changed this ended in allot of panic PHP. So i use 3rd > party vendor device. > > My advice would be to use 2 devices 1 to mark traffic and do access > control and use ds_shed to control traffic on other device. I think I > went wrong in trying to do all on one device. The latest esfq used jhash - so should be better than the old hash. http://fatooh.org/esfq-2.6/ Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc