Dear Sir,
Please forgive me for my mistake......
I want to achieve the following at my gateway.

Want to restrict   Server, Comp1 & Comp2 on given speed.
--256kbps--->|eth0(203.145.134.112/255.255.255.252) [A]
                       |----eth1(Server room)-->56kbps 
(203.145.134.120/255.255.255.248) [B]
                       |----eth2(Company1)---->80kbps 
(203.145.134.116/255.255.255.252) [C]
                                                                        & 
(192.168.100.0/255.255.255.0)
                       |----eth3(Company2)---->120kbps (192.168.200.0/255.255.255.0)[D]

I have RHL 9.0 with Kernel 2.4.20-8 on i686 & IPCHAINS as a firewall.

Please suggest now what I have to do......???
Regards
Sandeep Agarwal
----- Original Message ----- 
From: "Adrian Saileanu" <[EMAIL PROTECTED]>
To: "Sandeep Agarwal" <[EMAIL PROTECTED]>
Cc: "LARTC" <[EMAIL PROTECTED]>
Sent: Saturday, April 03, 2004 5:10 PM
Subject: Re: [LARTC] Few question on HTB


> 
>   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

[snip]
> 
> 
> 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:   [EMAIL PROTECTED]

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

Reply via email to