From: Gerry Weaver <gerryw@it-procorp.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Bandwidth Allocation...
Date: Mon, 24 May 2004 02:22:47 +0000 [thread overview]
Message-ID: <40B15C77.5020804@it-procorp.com> (raw)
In-Reply-To: <40A2DE23.000010.00216@KASHMIR>
Hi,
I'm fairly new to this too, but if I understand correctly, you can do
this with htb.
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate <your total
bandwidth>
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 128kbit
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 128kbit
tc filter add dev eth0 parent 1:1 protocol ip prio 1 u32 \
match ip src 192.168.1.1 flowid 1:10
tc filter add dev eth0 parent 1:1 protocol ip prio 1 u32 \
match ip src 192.168.1.2 flowid 1:11
It is my understanding that as long as these classes don't have a leaf
they will share excess bandwidth.
Anyone else want to comment?
Thanks,
Gerry
Esteban Wagner wrote:
> Im configuring a server, to provide internet to 5 machines, with a
> dsl connection.
>
> I m not in familiar with bandwidth shaping, so Im going to start
> reading about it.
>
> What Im looking is something which let me assign the bandwidth in a
> dynamic way.(dynamic bandwidth allocation).
>
> For example:
>
> If I assign X bandwidht to each PC.(equal), and Pc1 is not using the
> %100 of the bandwidht assigned, I want the others PC in the network
> to be able to use the bandwidth PC 1 is not using.
>
> Please let me know if this is possible.
> If it is possible which HOWTO should i start reading?.And what tools
> do i need.
>
> Considering I understand networks basics, and have experience on linux.
>
> Thanks.
> Wagner Esteban.
>
>
>
>
>
> _________________________________________________________________
> <http://www.incredimail.com/redir.asp?ad_id10&lang\x10>
> /IncrediMail/ - *El Email ha evolucionado finalmente* - *_Haga clic
> aquí_* <http://www.incredimail.com/redir.asp?ad_id10&lang\x10>
--
Gerry Weaver
IT-Pro Corp.
Office: (254) 883-9040
Mobile: (512) 663-9550
Fax : (254) 883-9041
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-05-24 2:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 2:32 [LARTC] Bandwidth Allocation Esteban Wagner
2004-05-24 2:22 ` Gerry Weaver [this message]
2004-05-24 2:37 ` Gerry Weaver
-- strict thread matches above, loose matches on Subject: below --
2002-04-04 9:28 [LARTC] bandwidth allocation simbo adeyemi
2002-04-04 11:32 ` Vincent AE Scott
2002-04-04 13:14 ` Julián Muñoz
2002-04-04 13:25 ` Vincent AE Scott
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40B15C77.5020804@it-procorp.com \
--to=gerryw@it-procorp.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.