Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] shaping issue
@ 2001-03-22 15:04 Cami
  2001-03-24 21:31 ` bert hubert
  0 siblings, 1 reply; 2+ messages in thread
From: Cami @ 2001-03-22 15:04 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] shaping issue
  2001-03-22 15:04 [LARTC] shaping issue Cami
@ 2001-03-24 21:31 ` bert hubert
  0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2001-03-24 21:31 UTC (permalink / raw)
  To: lartc

On Thu, Mar 22, 2001 at 05:04:24PM +0200, Cami wrote:
> 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?

> 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.

> Anyone have any ideas?
> ++C

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

Regards,

bert

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

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-24 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-22 15:04 [LARTC] shaping issue Cami
2001-03-24 21:31 ` bert hubert

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