From: Stef Coene Date: Tue, 04 May 2004 10:51:14 +0000 Subject: Re: [LARTC] T1 (hardware pre-shaped) shaping question Message-Id: <200405041251.14483.stef.coene@docum.org> List-Id: References: <006b01c4318c$5dacba80$020da8c0@rabbit> In-Reply-To: <006b01c4318c$5dacba80$020da8c0@rabbit> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Tuesday 04 May 2004 06:00, Peter Rabbitson wrote: > Hello list. I have been trying to figure this out on my own, but I guess I > somewhat failed :) A linux router with external eth0 and internal eth1 ac= ts > as a gateway for a number of machines utilizing a partial T1 line > (512kbps). Since the T1 is limited by hardware and by its nature to 64kbps > per channel the most I can pump out of it is up+down < 512kbps. If a numb= er > of workstations amount to more than this limit the connection starts to > choke e.g. delivers very low performance even on simple http requests. > Right now I have HTBs installed on both eth0 and eth1. > The HTB with subclasses on eth0 governs outgoing traffic (smtp and http). > The HTB on eth1 on the other hand covers all request from the internal > clients (http, streaming audio etc). Everything works well except the fact > that both shaping trees have no idea about each other. Do I have the > ability to tie them together so COMBINED they do not exceed 512k? For > example somebody from the internet is pulling a file by http on eth0 and I > am pumping out smtp, totalling 56k/s. The workstation of my webmaster tri= es > to download a file through eth1 , and since it has priority the outgoing > traffic on eth0 is cut down to 30k/s and the webmaster gets an incomming > channel through eth0 --> eth1 --> workstation of 32k/s with some leftovers > for TCP checksums. Is this feasible? Or is there another traffic shaping > model different from tc that would treat eth0 as a two way pipe? This can done with imq. If you search the archives of this list, you will = find some posts about it. Stef --=20 stef.coene@docum.org =9A"Using Linux as bandwidth manager" =9A =9A =9Ahttp://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/