Managing downloads
Hello,
thanks for the help I've received here, I think I've cracked my problem. I have a tiny (5MBit) satellite downlink to share between several thousand clients, and I wanted to give higher paying clients more speed.
I tried WRR, but after three days meddling with kernels etc, gave up. The attached script uses CBQ to do the following:
Create classes for various speeds (512Kbit -> 8Kbit), and assign IP addresses to each class
Create a default class, limited to 2Mbit, which everyone else will share equally (SFQ)
I've tested it quite a bit, and it seems to work. However, I really don't know the details of tc etc, so it's possible that this is total rubbish. If it is, could someone point this out?
Also, does anyone know a good way of filtering by MAC address, rather than by IP address?
Gavin
hi!
Quoted 2 lines
Also, does anyone know a good way of filtering by MAC address, rather than by IP address?
use the ability of netfilter to mark those packets - this works fine here.
greetings
Sebastian
Signature · 8 lines
Sebastian 'spax' Pape | Never argue with an idiot. They drag you down mailto: [email protected] | to their level, then beat you with experience. pgp: http://p-a-p-e.de/pgp.asc | --- Do you want to know more? http://www.p-a-p-e.de/ --- _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/