Skip to contentSkip to conversation

Suggestion required on CBQ !!!!!!

LARTC Sandeep Agarwal 1 participant 1 message Mar 29, 2004

lore
Share & tools
lore
#0 lore raw

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
               RATE8Kbit
              WEIGHTKbit
              PRIO=2
              RULE 3.145.134.121/29
              RULE2.168.100.0/24
              RULE2.168.200.0/24

2. cbq-0560.Backbone-Server

             DEVICE=eth1,100Mbit,10Mbit
             RATE%Kbit
             WEIGHT=3Kbit
             PRIO=5
             PARENT80
             RULE 3.145.134.121/29

3. cbq-0800.Backbone-Comp1

            DEVICE=eth2,100Mbit,10Mbit
            RATE9Kbit
            WEIGHT=4Kbit
            PRIO=5
            PARENT80
            RULE2.168.100.0/24

4. cbq-1200.Backbone-Comp2

             DEVICE=eth3,100Mbit,10Mbit
             RATEdKbit
             WEIGHT=7Kbit
             PRIO=2
             PARENT80
             RULE2.168.200.0/24

Than

# service cbq.init start
-------------------------------------------------------------------------------------
------

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/