Dear Sir,
I have downloaded & configured the CBQ as per the doc available on the net.
Please suggest after reading following, whether I have done it in correct way or
still more class to be required to restrict on the given speed?
Thanking you,
Sandeep Agarwal
-------------------------------------------------------------------------------------
-
Scenario: Restrict Server, Comp1 & Comp2 on given speed.
--256kbps---|eth0(203.145.134.112/255.255.255.252)
|----eth1(Server room) 56kbps
(203.145.134.120/255.255.255.248)
|----eth2(Company1) 80kbps
(203.145.134.116/255.255.255.252)
&
(192.168.100.0/255.255.255.0)
|----eth3(Company2) 120kbps(192.168.200.0/255.255.255.0)
Procedure Follow: On RHL 9.0 with Kernel 2.4.20-8 on i686
I have download the CBQ from net, rename & copy it into /etc/rc.d/init.d.
Also make the symlink in rc*.d as per the instruction.
Also make the directory in etc/sysconfig/cbq
Now in this directory, I have put following files.
1. cbq-1280.All-Speed
DEVICE=eth0,100Mbit,10Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=2
RULE=203.145.134.121/29
RULE=192.168.100.0/24
RULE=192.168.200.0/24
2. cbq-0560.Backbone-Server
DEVICE=eth1,100Mbit,10Mbit
RATE=25Kbit
WEIGHT=3Kbit
PRIO=5
PARENT=1280
RULE=203.145.134.121/29
3. cbq-0800.Backbone-Comp1
DEVICE=eth2,100Mbit,10Mbit
RATE=39Kbit
WEIGHT=4Kbit
PRIO=5
PARENT=1280
RULE=192.168.100.0/24
4. cbq-1200.Backbone-Comp2
DEVICE=eth3,100Mbit,10Mbit
RATE=64Kbit
WEIGHT=7Kbit
PRIO=2
PARENT=1280
RULE=192.168.200.0/24
Than
# service cbq.init start
-------------------------------------------------------------------------------------
------
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/