From: "Adrian C." <drupix@gmail.com>
To: linux-admin@vger.kernel.org
Subject: htb upload
Date: Wed, 20 Oct 2004 01:11:03 +0300 [thread overview]
Message-ID: <60a746890410191511690e0e7d@mail.gmail.com> (raw)
Hello.
I'm trying to shape my upload using htb but it seems no matter what i
try it will only shape download.
----
tc qdisc del dev eth2 root handle 1:0 htb
tc qdisc add dev eth2 root handle 1:0 htb
tc class add dev eth2 parent 1:0 classid 1:1 htb rate 600kbit
tc class add dev eth2 parent 1:1 classid 1:2 htb rate 300kbit
tc class add dev eth2 parent 1:2 classid 1:21 htb rate 450kbit ceil 590kbit
tc class add dev eth2 parent 1:2 classid 1:22 htb rate 250kbit ceil 290kbit
tc qdisc add dev eth2 parent 1:21 handle 210: pfifo limit 10
tc qdisc add dev eth2 parent 1:22 handle 220: pfifo limit 10
tc filter add dev eth2 parent 1:0 protocol ip prio 1 u32 match ip src
192.168.22.222 flowid 1:21
tc filter add dev eth2 parent 1:0 protocol ip prio 1 u32 match ip src
192.168.22.223 flowid 1:22
-----
I have tried it with dst instead of src and both src and dst. Upload
doesn't seem to bother. eth2 is my WAN.
What am i doing wrong?
next reply other threads:[~2004-10-19 22:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-19 22:11 Adrian C. [this message]
2004-10-20 7:25 ` htb upload Ralica Kirilova
2004-10-20 8:10 ` Adrian C.
[not found] ` <20041020094447.GO24142@fede2.tumsan.fi>
2004-10-20 9:50 ` Adrian C.
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=60a746890410191511690e0e7d@mail.gmail.com \
--to=drupix@gmail.com \
--cc=linux-admin@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.