Re: [LARTC] CBQ

Linux Advanced Routing and Traffic Control

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

 



On Thu, Dec 06, 2001 at 12:36:18PM -0200, Alexandre M. Mello wrote:

> I am a user of CBQ that have bean proving to be an excellent software for
>  traffic control, I am having a difficulty to implement the following case:

I think you just resent your message. This is not the way to get more
attention. 

>  [INTERNET]
>           |
>        512
>           |
>      (eth1)
> [computer 1](eth2)<<---(eth1)[computer2](eth0)<<--{B1}
>      (eth0)              \\---- (eth1)[computer 3](eth0)<<--{B2}
>        {A}                \\--- (eth1)[computer 4](eth0)<<--{B3}
>                                \\-- (eth1)[computer 5](eth0)<<--{B4}

(...) 
>  I would like to configure CBQ to balance the traffic in at the 5 networks
>  (A, B1, B2, B3 and B4) and still borrow the remaining band for the nets
> that
>  are using.

>  For example, if the net B4 is alone in a certain moment, it will have a
> 512k
>  link, if the net B3 begin to use the Internet both they will have 256k and
>  if all begin, all will have 102k.

Define 'alone'. That is the hard part of your question, telling us exacly
what you want. Basically you want 2^5 configurations:

00000:	nobody 'active'
00001:  only B4 active
..
11111:  everybody active

You need some kind of script to determine activity, and chose the right
configuration.

But do you really want this? I would suggest a HTB configuration whereby you
guarantee everybody 102K, and put the ceiling at 512kb. This way, all
bandwidth is available, but everbody gets a least 102kbit/s.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet



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