Re: Few question on HTB

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hello ...

  What are you trying to do ? I don't find any sence to your script ...
you are attaching a htb disc on eth0, then map subclasses on eth1, eth2
eth3 ?????? I don't get it ...

  Can you tell us what are  you trying to achieve ?

> Dear All,
>
> Sorry to trouble again..... After go through www.lartc.org I have
> implemented the HTB instead of CBQ
> for the same scenario.
> Now following files are under /etc/sysconfig/htb directory.
>
> eth0                         DEFAULT=30 R2Q=10
> eth0-2.root              RATE=256kbps  BURST=25k
> eth0-2:10.comp1     RATE=120kbps  BURST=12k  PRIO=0  LEAF=sfq
> RULE=192.168.200.0/24
> eth0-2:20.comp2     RATE=80kbps  BURST=8k  PRIO=1  LEAF=sfq
> RULE=192.168.100.0/24
> eth0-2:30.server      RATE=56kbps  BURST=6k  PRIO=3  LEAF=sfq
> RULE=203.145.134.120/29
> --------------------
> eth1-2:30.root         RATE=56kbps  BURST=6k
> eth1-2:30:300.all     RATE=56kbps  BURST=6k  PRIO=3  LEAF=sfq
> RULE=203.145.134.120/29  MARK=3
> --------------------
> eth2-2:20.root         RATE=80kbps  BURST=8k
> eth2-2:20:200.all     RATE=80kbps  BURST=8k  PRIO=1  LEAF=sfq
> RULE=192.168.100.0/24  MARK=2
> --------------------
> eth3-2:10.root        RATE=120kbps  BURST=12k
> eth3-2:10:100.all    RATE=120kbps  BURST=12k  PRIO=0  LEAF=sfq
> RULE=192.168.200.0/24  MARK=1
> -----------------------------
>
> When I have run
> # service htb.init start
> #
> it returns nothing . Is it OK? Also stats returns nothing. Are the above
> configuration files OK?
>
> Thanking you,
> Sandeep Agarwal
> ----- Original Message -----
> From: "Sandeep Agarwal" <sandeep_agarwal@xxxxxxxxxxx>
> To: "LARTC" <lartc@xxxxxxxxxxxxxxx>
> Sent: Monday, March 29, 2004 5:08 PM
> Subject: Suggestion required on CBQ !!!!!!
>
>
>> Dear Sir,
>>
> [snip]
>> -------------------------------------------------------------------------------------
>> -
>> 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(Company2) 80kbps
>> (203.145.134.116/255.255.255.252)
>>                                                                &
>>                                                                    (192.168.100.0/255.255.255.0)
>>                      |----eth3(Company1)
>> 120kbps(192.168.200.0/255.255.255.0)
>>
> [snip]
>>
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>


Adrian Saileanu
Netmaster Communications Srl

address: Str. Ion Brezoianu Nr. 20
Sector 1, Bucuresti, Romania

office: +40 21 315 92 00
mobile: +40 723 979 586
email:   adrian@xxxxxxxxxxxx





_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux