Once again I'm trying to make my linux box jump through hoops. I have 2
similar questions, and if anybody could point me in the direction of some
good documentation/(free)software/books I'd appreciate it.
1.) I have several computers at home all currently plugged into a ethernet
hub which is plugged into my DSL modem. Each computer is using one of the
5 IP addresses given to me by PacBell. How would I make it so that in
given situations, each computer is alloted a certain amount of bandwidth
to use, and no more, and give certain ones priority. So, if the webserver
were serving from the linux box, I was downloading some stuff on one Mac,
and doing work on another Mac, the 'work' Mac would get bandwidth
priority, over the webserver, over the 'downloading' Mac, but everybody
still gets a little bandwidth. But if only one mac is on, it gets it all,
etc. I imagine, I'll have to route everything through my Linux box but
thats fine, would it physically have to go through the linux box (ie,
installing a 2nd ethernet card in the box and putting the hub through the
linux-box then plugging the box into the modem) or can I just put
everything on the hub and route things through the linux box?
2.) How do I limit bandwidth on just the web server? So random web
traffic gets only so much, but I can still ftp and telnet/ssh in at full
speed?
I'm not a 'professional' linux admin, but I play one on my network.