From: "Jirka Pirko" <peyrak@seznam.cz>
To: lartc@vger.kernel.org
Subject: [LARTC] IMQ ingress shaping
Date: Mon, 17 Mar 2003 00:22:38 +0000 [thread overview]
Message-ID: <marc-lartc-104786056316295@msgid-missing> (raw)
is here anybody successfully running HTB + IMQ for ingress traffic?? i can't
do it :(
i'm using following commands:
# ifconfig imq0 up
# iptables -A PREROUTING -t mangle -i eth2 -j IMQ --todev imq0
# tc qdisc add dev imq0 root handle 1 htb default 0
# tc class add dev imq0 parent 1: classid 1:2 htb rate 11Mbit
# tc class add dev imq0 parent 1:2 classid 1:10 htb rate 128Kbit prio 50
# tc filter add dev imq0 parent 1:0 protocol ip prio 100 u32 match ip dst
192.168.1.1 classid 1:10
# tc class add dev imq0 parent 1:2 classid 1:20 htb rate 128Kbit prio 60
# tc filter add dev imq0 parent 1:0 protocol ip prio 100 u32 match ip dst
192.168.1.2 classid 1:20
then
# tc qdisc show dev imq0
qdisc htb 1: r2q 10 default 0 direct_packets_stat 0
it seems to me like no pakets are coming thru imq0 but why? i thing i have
iptables set right.
anybody see mistake?
i've made IMQ work to shape engress trafic on multiple interfaces, but this
i can't solve :/
thx
xpeyrak
excause my poor english
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-03-17 0:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-17 0:22 Jirka Pirko [this message]
2003-03-17 17:20 ` [LARTC] IMQ ingress shaping Stef Coene
2003-03-21 19:02 ` Alexander Trotsai
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=marc-lartc-104786056316295@msgid-missing \
--to=peyrak@seznam.cz \
--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.