From: Gerry Weaver <gerryw@it-procorp.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Bandwidth Allocation...
Date: Mon, 24 May 2004 02:37:07 +0000 [thread overview]
Message-ID: <40B15FD3.1080403@it-procorp.com> (raw)
In-Reply-To: <40A2DE23.000010.00216@KASHMIR>
Hi,
Sorry, I forgot something. I didn't add the "ceil" parameter.
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 ceil
<your total bandwidth>
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 128kbit ceil
<your total bandwidth>
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
Thanks,
Gerry
_______________________________________________
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:37 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
2004-05-24 2:37 ` Gerry Weaver [this message]
-- 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=40B15FD3.1080403@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.