LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   badwidth sharing with cbq (https://www.linuxquestions.org/questions/linux-networking-3/badwidth-sharing-with-cbq-179860/)

orko 05-10-2004 04:00 AM

badwidth sharing with cbq
 
hi all,

i've a linux box with redhat 8.0. eth0 interface is connected with internet and eth1 is connected with local network. i m getting 128 Kbit bandwidth from an ISP and i m trying to share bandwidth with CBQ in my local network. my obejctive is to make some classes so that child classes can borrow unused bandwidth from their parent classes .

followings are the classes that i made in my /etc/sysconfig/cbq folder

#this class is used as parent class

cbq-1001.parent
----------------
DEVICE=eth1,100Mbit,10Mbit
RATE=100Kbit
WEIGHT=3Kbit
PRIO=5
LEAF=none


#this class is used as child class of class cbq-1001.parent

cbq-3001.malechild
------------------
DEVICE=eth1,100Mbit,10Mbit
RATE=20Kbit
WEIGHT=2Kbit
PRIO=5
PARENT=1001
BOUNED=no
ISOLATED=no
RULE=192.168.100.10


class 3001 is supposed to borrow bandwidth from its parent 1001 when bandwidth is available. but in practice, this class is not getting more then 20 Kbit. i m confused about my class structer. anyone please help me....

regards


All times are GMT -5. The time now is 01:25 PM.