[LARTC] wrr and htb help

2003-03-07 Thread hare ram
Hi thanks all for the before help

i found wrr is good one, iam able to setup all and made them the available
b/w equal to users
for the available bandwidth
and setup a web pages for the same to monitor

now i have different Idea and need to setup, here iam not sure either its
possible or not
Please suggest

i want to alocate bandwidth example

60% for http
20% ftp
10% all
5% ssh
5% voice

and in 60% if the bandwidth for http, if the user are 6
each user should get 60/6=10% each user
like other protocols tooo



how can i achive this with wrr and htb
thanks
hare


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] wrr and htb help

2003-03-07 Thread Martin A. Brown
Hi again, Hare,

 : i found wrr is good one, iam able to setup all and made them the
 : available b/w equal to users for the available bandwidth and setup a
 : web pages for the same to monitor
 : now i have different Idea and need to setup, here iam not sure either
 : its possible or not Please suggest
 : i want to alocate bandwidth example

I presume you know how to build classes with children classes by
now...simply set your root class to your total available bandwidth, and
then create children classes according to your scheme (see the archives
for a discussion of shaping and FTP):

  http://www.google.com/search?q=site%3Amailman.ds9a.nl+ftp+shaping

Since wrr (according to the docs available with the wrr distribution [1])
can and, it seems, should (?) function as a leaf queuing discipline, you
should be able to add a wrr qdisc to each of your leaf HTB classes.  It
seems common to use a terminal SFQ qdisc in HTB classes.  There's no
reason you couldn't choose WRR for your classes.

 : 60% for http
 : 20% ftp
 : 10% all
 : 5% ssh
 : 5% voice
 :
 : and in 60% if the bandwidth for http, if the user are 6
 : each user should get 60/6=10% each user
 : like other protocols tooo
 : how can i achive this with wrr and htb

-Martin

 [1]  http://wipl-wrr.sourceforge.net/wrr.html

-- 
Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED]

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/