[LARTC] shaping issue

Linux Advanced Routing and Traffic Control

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

 



Hi guys..

I've been attempting to get bandwidth shaping working correctly
without much luck..

Scenerio:
  [internet/ISP]
               \
                \
               (128k) <- line speed
                  \ 
                  | (eth0) 66.8.24.15 / 255.255.255.224
        [external-linux-box]
                  | (eth1) 192.168.0.1 / 255.255.255.0
                  |
  mailserver <--[DMZ]--> webserver
                  |
                  | (eth0) 192.168.0.2 / 255.255.255.0
        [internal-linux-box]
                  | (eth1) 192.168.1.1 / 255.255.255.0
                  |
                [hub]
               /  |  \
           /\/    |    \/\
          /       |       \
       /\/        |        \/\
192.168.1.2   192.168.1.3    192.168.1.4
      |           |            |
 [client]      [client]      [client]
192.168.3.0   192.168.4.0   192.168.5.0
255.255.255.0 255.255.255.0 255.255.255.0

Lets say i'm sitting at the internal linux box, if start downloading
something, it will chew as much bandwidth as possible, 14kb/s all way.
I'm looking for a solution to whereby i can throttle as follows:

[outgoing]
       web: 8kb/s
      mail: 3kb/s
  leftover: 3kb/s

[incoming]
       web: 6kb/s
      mail: 4kb/s
  leftover: 4kb/s

iproute2+tc is installed, i tried various combinations, no errors
but throttling is not happening, kernel is set up correctly and i
have gone through the advanced-routing-howto, not having too much
luck..

Anyone have any ideas?
++C





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