Skip to contentSkip to conversation

shaping issue

LARTC Cami 2 participants 2 messages Mar 22, 2001 – Mar 24, 2001

lore
Share & tools
lore

Cami

author
#0 lore raw

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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw
Quoted 4 lines · Cami

Hi guys..

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

Very complex stuff this. Can you try in a simpler setting to reproduce your problem?

Quoted 3 lines

but throttling is not happening, kernel is set up correctly and i have gone through the advanced-routing-howto, not having too much luck..

Try the CBQ.Init script. It sets up your configuration in a way that works. And then learn from that.

Quoted 2 lines

Anyone have any ideas?
++C

Which is, as we all know, the right way to increment C!

Regards,

bert

Signature · 7 lines
http://www.PowerDNS.com      Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/