[LARTC] Bandwidth problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



                                                          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
 
 

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux