hi MAKO,
searching in google may help u a lot for boasting ur knowledge. but here is a simple example for u with CBQ which i've implemented in my server.
u didn't give me details of ur linux server. but i assume u r using linux 7.0 or higher and u've installed shapecfg.
i do also assume,
internet interface is eth0
LAN interface is eth1 (subnet 192.168.1.0/24)
now go to /etc/sysconfig/cbq folder
creat a file naming like this:
cbq-{classid}.anytext | example:- cbq-10.firstclient
type the followings in cbq-10.firstclient
--------------------------------------------------
DEVICE=eth1,10Mbit,1Mbit
RATE=100Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.168.1.10
--------------------------------------------------
A short description:
first line is mandatory. u may use eth1,100Mbit,1Mbit if ur eth1 interface is 100/10M. if u want to control upload just replace "eth1" by "eth0"
"RATE" is the maximum bandwidth that this ip will get
"WIGHT" is 1/10th of RATE
"PRIO" ........leave it 5 as default
"RULE" is the ip address that will get this bandwidth
------------------------------------------------------------------------------
thats all to tie the downlink bandwidth for the client with ip 192.168.1.10
from root just type following command:
cbq stop
cbq start
u need to creat another class for another ip just like above. u can also set another line "RULE=192.168.1.11" within the same class so both ip 1.10 and 1.11 will together get the bandwidth provided in "RATE". u can also set different "PRIO" for different class so that different ip will get bandwidth in differnet priority basis...............u can do a lot which can't be explain in this short space.......
in fact, this is not anything details about cbq or bandwidth control. details can't be discussed here and i don't have that much of knowledge indeed.
just try this one and keep searching through google....
enjoy