Re: Dynamic bandwidth allocation ?

Linux Advanced Routing and Traffic Control

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

 



Dear Stef,

Thanks for the reply.

But i want to implement the same for the dialup modem.  In which case i
don't have the fixed pipe of 10kbps.  Because some times dialup modem
gives me a bandwidth of 8kbps to 1kbps.  In this situation of varing
bandwidth how i implement the same.

Waiting for your reply.

regards
shekhar

On Fri, 2002-11-08 at 14:17, Stef Coene wrote:
> On Friday 08 November 2002 05:17, Chandrashekhar Rane wrote:
> > Dear Stef,
> >
> > Thanks for the reply.
> >
> > By dynamic allocation of bandwidth i mean to say, it should get
> > allocated according to the situation to the individual classes.
> >
> > Consider a example, say i have a pipe of 10kbps.  I am dividing this
> > pipe in three classes with bandwidth of 1kbps, 1.5kbps and 7.5kbps
> > respectively.
> >
> > I am trying to implement this using CBQ with fw filter.
> >
> > 1kbps pipe i am allocating to fixed ip say 192.168.2.12 and 1.5kbps pipe
> > i am allocating to another ip say 192.168.2.22 and remaining 7.5kbps
> > pipe i am allocating to 192.168.2.0/24 network.
> >
> > If the person sitting on 192.168.2.12 or 192.168.2.22 is absent for the
> > day, then the bandwidth allocated to them should be release for the
> > other user.
> >
> > How to achieve this objective.
> >
> > Waiting for a kind response from your side.
> Very easy to do so.
> 
> bounded class of 10kbps
>   3 child not-bounded classes :
>     1kbps
>     1.5 kbps
>     7.5 kbps
> 
> 3 fiters :
>   filter 1 pust all 192.168.2.12 in 1 kbps class
>   filter 2 pust all 192.168.2.22 in 1.5 kbps class
>   filter 3 pust all 192.168.2.0/24 in 7.5 kbps class
> 
> And you are done.
> If 1kbps class is not used, the bandwidth is distributed to the other class.
> If you want this bandwidth allocated to the 1.5 kbps you can do this :
> 
> bounded class of 10kbps
>   2 child not-bounded classes :
>     2.5 kbps
>       2 child not bounded classes :
>         1 kbps
>         1.5 kbps
>     7.5 kbps
> 
> Stef
> 
> 
> -- 
> 
> stef.coene@docum.org
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.oftc.net
> 


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

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