[plug] Kernel Routing Magic

Trevor Phillips phillips at central.murdoch.edu.au
Sat Mar 31 12:41:49 WST 2001


I'm trying to dabble in the dark arts of advanced routing with Kernel 2.4, but
am sort of fumbling in the dark, and don't want to summon any evil daemons I
can't control.

Does anyone have experience in setting up Queueing for Bandwidth Management?

The scenario is this: A home modem, with a Linux (Debian) gateway, masquerading
a small LAN. I wish to give each user a fairer slice of the modem bandwidth.
For example, Person A may set something huge downloading, while Person B is
trying to Telnet/Web/Quake/etc... Currently, Person B's stuff is slowed down
considerably as Person A is soaking up all the bandwidth.

I considered limiting bandwidth, but after doing some research I think/hope a
change in Queueing discipline will provide me with a suitable simpler more
flexible solution. I've tried reading the Advanced Routing HOWTO, but it is
pretty mysical magic that I'm having trouble visualising, and coming to terms
with.

The HOWTO has an example using CBQ (using the "tc" util which seems fairly
undocumented), but reading through the other disciplines, I want to give SFQ
(Stochastic Fairness Queueing) a burl. However, I'm suspecting this isn't just
a case of insmod-ding the right module (which I've done).

Any Gurus out there know how to do this? (And any reports on how effective it
is?)

--
. Trevor Phillips             -           http://jurai.murdoch.edu.au/ . 
: CWIS Technical Officer         -           T.Phillips at murdoch.edu.au : 
| IT Services                       -               Murdoch University | 
 >------------------- Member of the #SAS# & #CFC# --------------------<
| On nights such as this, evil deeds are done. And good deeds, of     /
| course. But mostly evil, on the whole.                             /
 \      -- (Terry Pratchett, Wyrd Sisters)                          /



More information about the plug mailing list