From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Liviu Faciu" Date: Sat, 20 Oct 2001 11:17:37 +0000 Subject: [LARTC] Bandwidth problem MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0018_01C1596E.A33C57C0" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C1596E.A33C57C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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.=20 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.=20 What's wrong ? =20 Thank you, Liviu ------=_NextPart_000_0018_01C1596E.A33C57C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
          &nbs= p;            = ;            =             &= nbsp;         =20 Hi,
 
    I hope that somebody = could help=20 me. I have the following structure:
 
 
Internet ------- Linux gateway1 = ------------- Linux=20 gateway2 ----------- Clients
CISCO---------eth1----------eth0------------eth0--------------et= h1-------switch--------
 
 
    I have to limit=20 the download bandwidth of those clients placed after Linux = gateway2=20 connected through a switch. I have used the latest "cbq.init"=20 script from iproute ftp site. I've created the files=20 for limiting every client for upload and for download. Then I = started=20 the script and I had the qdisc, classes and the filters = running. My=20 clients had the right limitations but at the eth0 interface from Linux = gateway2=20 I had a lot of traffic,  most of which was dropped. = All clients'=20 requests generate a lot of traffic between Linux gateway1 = and Linux=20 gateway2.
    After running the = script I=20 have at the eth0 interface on the Linux gateway2 the same = traffic as=20 if the filter wouldn't exist. Sometimes even more traffic. In that = case the=20 filters were useless. It's important for me to limit the entire = client=20 traffic from CISCO to the switch client connection.
 
    A few days ago I = though that I=20 found the solution but it wans't the good one: to limit the upload that = much=20 that it will produce less download. Ok. The HTTP upload was=20 limited drastic and requests was marked with iptables=20 and the fw filter was applied. At first view all was fine. So I = made the=20 limitation to 4 Kbit upload for the HTTP requests. For small files the = filter=20 was acting fine. But for large files HTTP downloads (over 1 Mb) I had 8 = (even 9)=20 KB/s in Internet Explorer speed. I really need to limit the entire = download=20 bandwidth to max. 6KB/s. 
 
    What's wrong = ?
 
Thank you,
Liviu
 
 
------=_NextPart_000_0018_01C1596E.A33C57C0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/