Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Bandwidth problem
@ 2001-10-20 11:17 Liviu Faciu
  0 siblings, 0 replies; only message in thread
From: Liviu Faciu @ 2001-10-20 11:17 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

                                                          Hi,

    I hope that somebody could help me. I have the following structure:


Internet ------- Linux gateway1 ------------- Linux gateway2 ----------- Clients
CISCO---------eth1----------eth0------------eth0--------------eth1-------switch--------


    I have to limit the download bandwidth of those clients placed after Linux gateway2 connected through a switch. I have used the latest "cbq.init" script from iproute ftp site. I've created the files for limiting every client for upload and for download. Then I started the script and I had the qdisc, classes and the filters running. My clients had the right limitations but at the eth0 interface from Linux gateway2 I had a lot of traffic,  most of which was dropped. All clients' requests generate a lot of traffic between Linux gateway1 and Linux gateway2. 
    After running the script I have at the eth0 interface on the Linux gateway2 the same traffic as if the filter wouldn't exist. Sometimes even more traffic. In that case the filters were useless. It's important for me to limit the entire client traffic from CISCO to the switch client connection.

    A few days ago I though that I found the solution but it wans't the good one: to limit the upload that much that it will produce less download. Ok. The HTTP upload was limited drastic and requests was marked with iptables and the fw filter was applied. At first view all was fine. So I made the limitation to 4 Kbit upload for the HTTP requests. For small files the filter was acting fine. But for large files HTTP downloads (over 1 Mb) I had 8 (even 9) KB/s in Internet Explorer speed. I really need to limit the entire download bandwidth to max. 6KB/s. 

    What's wrong ?
 
Thank you,
Liviu



[-- Attachment #2: Type: text/html, Size: 3241 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-20 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-20 11:17 [LARTC] Bandwidth problem Liviu Faciu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox