From: Stef Coene Date: Sat, 03 Apr 2004 12:53:05 +0000 Subject: Re: [LARTC] Few question on HTB Message-Id: <200404031453.06281.stef.coene@docum.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Saturday 03 April 2004 14:24, Sandeep Agarwal wrote: > 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. Ipchains is for 2.2.x kernel. Iptables is the new firewill configuration=20 tool. > Please suggest now what I have to do......??? Correct me if I'm wrong, but you have a router with 4 interfaces. Eth0 is = the=20 internet link and you want to control bandwidth used by the 3 other=20 interfaces. Remember that you can only shape outging bandwidth if you add = a=20 htb qdisc to a network interface. For shaping info, see lartc.org and docum.org. Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ =A0 =A0 =A0#lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/